aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/listeners/message/autoThread.ts2
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