aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/client
diff options
context:
space:
mode:
authorTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-28 21:55:26 -0600
committerTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-28 21:55:26 -0600
commit18f1af36bfe0a7c442ea5e80567a522a14bcbaf3 (patch)
tree4eeb10ccbe6d55bf85e3a64c1ad2a3aafed679fe /src/listeners/client
parent2456dab3db0d8eaae515606b83a6c0c317d009b0 (diff)
downloadtanzanite-18f1af36bfe0a7c442ea5e80567a522a14bcbaf3.tar.gz
tanzanite-18f1af36bfe0a7c442ea5e80567a522a14bcbaf3.tar.bz2
tanzanite-18f1af36bfe0a7c442ea5e80567a522a14bcbaf3.zip
format
Diffstat (limited to 'src/listeners/client')
-rw-r--r--src/listeners/client/syncSlashCommands.ts5
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();