diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-19 16:52:09 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-19 16:52:09 -0400 |
commit | f2883f221706f86ee045fa94ad8cd3c9b5db5f97 (patch) | |
tree | cd3613ef478eb5306b474fa3a5871de9c985d81b /src/listeners/client | |
parent | ea64ebfff9aae32deb036643422d3427959dcd24 (diff) | |
parent | 0c24fcffe34653564aaaf8a3cb124d6a3f6f4a42 (diff) | |
download | tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.tar.gz tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.tar.bz2 tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.zip |
resolved conflicts and stuff
Diffstat (limited to 'src/listeners/client')
-rw-r--r-- | src/listeners/client/syncSlashCommands.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/listeners/client/syncSlashCommands.ts b/src/listeners/client/syncSlashCommands.ts deleted file mode 100644 index 69b91bc..0000000 --- a/src/listeners/client/syncSlashCommands.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { BushListener } from '../../lib/extensions/BushListener'; - -export default class SyncSlashCommandsListener extends BushListener { - constructor() { - super('syncslashcommands', { - emitter: 'client', - event: 'ready' - }); - } - 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); - } else { - // Use global in production - await this.client.util.syncSlashCommands(); - } - } -} |