diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-26 16:53:45 +0000 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-26 16:53:45 +0000 |
commit | 481a157a177e60f023b59e4e9acffc549760db40 (patch) | |
tree | e5ae3e5815c7b1135738d59645f4248219f7fcca /src/listeners | |
parent | 53d8d5e551e9a239fd4c48c7dca4e1f6fb8d81e9 (diff) | |
download | tanzanite-481a157a177e60f023b59e4e9acffc549760db40.tar.gz tanzanite-481a157a177e60f023b59e4e9acffc549760db40.tar.bz2 tanzanite-481a157a177e60f023b59e4e9acffc549760db40.zip |
Automatically format code
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(); |