aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-28 15:16:26 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-28 15:16:26 -0400
commit91cf6472406e72935b4b956c3f4b34206c3ea256 (patch)
tree6973d2c2bedd65e7166d391dc3248fdcf0a526d0
parent4de8924e8b741becf6d3a794a40ac687368da7cd (diff)
downloadtanzanite-91cf6472406e72935b4b956c3f4b34206c3ea256.tar.gz
tanzanite-91cf6472406e72935b4b956c3f4b34206c3ea256.tar.bz2
tanzanite-91cf6472406e72935b4b956c3f4b34206c3ea256.zip
fix: restrict quoting to production for now
-rw-r--r--src/listeners/message/quoteCreate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/message/quoteCreate.ts b/src/listeners/message/quoteCreate.ts
index 08fd0cf..0d8b464 100644
--- a/src/listeners/message/quoteCreate.ts
+++ b/src/listeners/message/quoteCreate.ts
@@ -10,7 +10,7 @@ export default class QuoteCreateListener extends BushListener {
}
public override async exec(...[message]: BushClientEvents['messageCreate']) {
- if (message.author.id !== '322862723090219008') return;
+ if (message.author.id !== '322862723090219008' || !client.config.isProduction) return;
if (!message.inGuild()) return;
const messages = await util.resolveMessagesFromLinks(message.content);