-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Renamed /create-role-menu to /role-select-menu and broke it into subcommands * implemented /role-select-menu update add * implemented /role-select-menu update delete * Renamed /role-select-menu subcommands * Improved error message when unable to add role to select menu * Reorderd response calls * Bot will now optionally start a pprof server for code profiling. Added optional pprof config and helper scripts. Large role management commands run very slowly, so I figured something like this would be both fun and insightful for seeing where the slowdown(s) are occuring. I'm sure it won't be the only time I need to do it either. * Added handler trace regions * Fixed a bug where the reset role button would not work for multiple action bars * Greatly sped up role reset button handler by batching role removal instead of removing them individually * Greatly sped up the role selection menu interactions by batching role updates instead of doing them one at a time * update MaxValues when adding or removing a role from the menu * menu select responses now return added roles instead of all current roles * Reduced redundant code * updated docker-compose for v1.9.1
- Loading branch information
Showing
13 changed files
with
993 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
{ | ||
"enable-dg-logging": false, | ||
"default-log-level": "info", | ||
"unregister-all-cmds-on-startup": false | ||
"unregister-all-cmds-on-startup": false, | ||
"pprof": { | ||
"enabled": false, | ||
"address": "localhost:6060", | ||
"block-profile-rate": 0, | ||
"mutex-profile-fraction": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.