Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What the PR does:
/mod score
failing because the subcommandgroup is null, which was to be checked against the stringscore
to see if the command was executed. This was fixed by just moving the score case into a new switch inside thedefault
case./settings username set <mode>
to set the username format. The mode is an integer option with different names, so the bot receives the integer option from Discord oninteractionCreate
so that there doesn't have to be string comparisons./settings username show
to just simply show what the setting is currently set to/settings username help
just like the other commands to explain the newly added commands/settings username unset
to just set the username mode to 4 (it's a zero-based integer in the order of the list that is in the linked issue, 4 is the default we decided on there).leaderboard.ts
(Checked withgit --no-pager grep username
).