diff options
Diffstat (limited to 'src/listeners')
-rw-r--r-- | src/listeners/client/syncslashcommands.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/listeners/client/syncslashcommands.ts b/src/listeners/client/syncslashcommands.ts index da42185..febdd1b 100644 --- a/src/listeners/client/syncslashcommands.ts +++ b/src/listeners/client/syncslashcommands.ts @@ -10,7 +10,10 @@ export default class CreateSlashCommands extends BotListener { async exec(): Promise<void> { if (this.client.config.dev && this.client.config.devGuild) { // Use guild slash commands for instant registration in dev - await this.client.util.syncSlashCommands(false, this.client.config.devGuild); + await this.client.util.syncSlashCommands( + false, + this.client.config.devGuild + ); } else { // Use global in production await this.client.util.syncSlashCommands(); |