Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: command names #11

Merged
merged 1 commit into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading