aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-03 19:56:42 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-03 19:56:42 -0400
commit13eac4e0f525b4adc31a1d9c4bae626dc3e9f618 (patch)
tree9726bf24a00517ed71f70d3b0848cf60093f0669 /src
parent3b1311951638bc54efbbb245632e2b3ab460f741 (diff)
downloadtanzanite-13eac4e0f525b4adc31a1d9c4bae626dc3e9f618.tar.gz
tanzanite-13eac4e0f525b4adc31a1d9c4bae626dc3e9f618.tar.bz2
tanzanite-13eac4e0f525b4adc31a1d9c4bae626dc3e9f618.zip
im a moron
Diffstat (limited to 'src')
-rw-r--r--src/listeners/message/automodCreate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts
index 03c1603..01fc803 100644
--- a/src/listeners/message/automodCreate.ts
+++ b/src/listeners/message/automodCreate.ts
@@ -41,7 +41,7 @@ export default class AutomodMessageCreateListener extends BushListener {
const offences: { [key: string]: 0 | 1 | 2 | 3 } = {};
const cleanMessageContent = message.content?.toLowerCase().replace(/ /g, '');
- for (const word in wordKeys) {
+ for (const word of wordKeys) {
const cleanWord = word.toLowerCase().replace(/ /g, '');
if (cleanMessageContent.includes(cleanWord)) {