Skip to content

Commit

Permalink
Adds a feature option for the /help command to get a description …
Browse files Browse the repository at this point in the history
…of a given feature
  • Loading branch information
PolariTOON committed May 20, 2024
1 parent 02059f4 commit 2e22a23
Show file tree
Hide file tree
Showing 8 changed files with 516 additions and 117 deletions.
2 changes: 1 addition & 1 deletion src/commands/emoji.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const emojiCommand: Command = {
name: optionName,
description: optionDescription["en-US"],
descriptionLocalizations: optionDescription,
choices: Object.keys(styles).map<ApplicationCommandOptionChoiceData<string>>((style: string): ApplicationCommandOptionChoiceData<string> => {
choices: Object.getOwnPropertyNames(styles).map<ApplicationCommandOptionChoiceData<string>>((style: string): ApplicationCommandOptionChoiceData<string> => {
return {
name: style,
value: style,
Expand Down
Loading

0 comments on commit 2e22a23

Please sign in to comment.