Skip to content

Commit

Permalink
fix: command names (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
benw202 authored Jan 28, 2024
1 parent e18a898 commit 78d5642
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Update <small>_ January 2024</small>

- fix: command names (28/01/2024)
- fix: ignore Dyno bot (27/01/2024)
- fix: use - instead of _ in command names (27/01/2024)
- feat: auto-generation of the command table (24/01/2024)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/moderation/faq/faq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default slashCommand(data, async ({ interaction }) => {
case 'list':
await handleListFaq(interaction);
break;
case 'print_all':
case 'print-all':
await handlePrintAllFAQ(interaction);
break;

Expand Down
2 changes: 1 addition & 1 deletion src/commands/utils/simbriefData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const simbriefEmbed = (flightplan: any) => makeEmbed({
});

export default slashCommand(data, async ({ interaction }) => {
if (interaction.options.getSubcommand() === 'support_request') {
if (interaction.options.getSubcommand() === 'support-request') {
return interaction.reply({ embeds: [simbriefdatarequestEmbed] });
}

Expand Down

0 comments on commit 78d5642

Please sign in to comment.