diff options
author | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-28 21:55:26 -0600 |
---|---|---|
committer | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-28 21:55:26 -0600 |
commit | 18f1af36bfe0a7c442ea5e80567a522a14bcbaf3 (patch) | |
tree | 4eeb10ccbe6d55bf85e3a64c1ad2a3aafed679fe /src/listeners/client | |
parent | 2456dab3db0d8eaae515606b83a6c0c317d009b0 (diff) | |
download | tanzanite-18f1af36bfe0a7c442ea5e80567a522a14bcbaf3.tar.gz tanzanite-18f1af36bfe0a7c442ea5e80567a522a14bcbaf3.tar.bz2 tanzanite-18f1af36bfe0a7c442ea5e80567a522a14bcbaf3.zip |
format
Diffstat (limited to 'src/listeners/client')
-rw-r--r-- | src/listeners/client/syncSlashCommands.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/listeners/client/syncSlashCommands.ts b/src/listeners/client/syncSlashCommands.ts index 7835136..69b91bc 100644 --- a/src/listeners/client/syncSlashCommands.ts +++ b/src/listeners/client/syncSlashCommands.ts @@ -10,10 +10,7 @@ export default class SyncSlashCommandsListener extends BushListener { 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(); |