diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-07 09:52:09 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-07 09:52:09 -0400 |
commit | eb0ac7cac5a08cd47f65e60c5a65bef23195810b (patch) | |
tree | 16a9dd799191d6d2d6ad37139d18f4c392fb9016 /src/listeners | |
parent | 1b6d56162bae1d9119f0641df1092ab6a92df620 (diff) | |
download | tanzanite-eb0ac7cac5a08cd47f65e60c5a65bef23195810b.tar.gz tanzanite-eb0ac7cac5a08cd47f65e60c5a65bef23195810b.tar.bz2 tanzanite-eb0ac7cac5a08cd47f65e60c5a65bef23195810b.zip |
fix auto thread
Diffstat (limited to 'src/listeners')
-rw-r--r-- | src/listeners/message/autoThread.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/message/autoThread.ts b/src/listeners/message/autoThread.ts index eb54554..bdc18d5 100644 --- a/src/listeners/message/autoThread.ts +++ b/src/listeners/message/autoThread.ts @@ -13,7 +13,7 @@ export default class autoThreadListener extends BushListener { } public override async exec(...[message]: BushClientEvents['messageCreate']): Promise<Promise<void> | undefined> { - if (client.config.isDevelopment) return; + if (!client.config.isProduction) return; if (!message.guild || !message.channel) return; // todo: make these configurable etc... if (message.guild.id !== '516977525906341928') return; // mb |