diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-05-28 17:37:04 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-05-28 17:37:04 -0400 |
commit | f1cdbd260c6c2249fc0d765949d44d889bcaedc8 (patch) | |
tree | a91883fc6de76d739f99c795f1248474df6f1efc /src/listeners/message | |
parent | f3cde793e778d1dc29b704d9cce560c6e929e6e8 (diff) | |
download | tanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.tar.gz tanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.tar.bz2 tanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.zip |
I can't read anything
Diffstat (limited to 'src/listeners/message')
-rw-r--r-- | src/listeners/message/level.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/listeners/message/level.ts b/src/listeners/message/level.ts index 3b23f36..c9d5522 100644 --- a/src/listeners/message/level.ts +++ b/src/listeners/message/level.ts @@ -16,8 +16,7 @@ export default class LevelListener extends BushListener { if (message.author.bot) return; if (message.util?.parsed?.command) return; if (this.levelCooldowns.has(message.author.id)) return; - if (!this.client.config.dev && message.guild.id != '516977525906341928') - return; + if (!this.client.config.dev && message.guild.id != '516977525906341928') return; if (this.blacklistedChannels.includes(message.channel.id)) return; if (!['DEFAULT', 'REPLY'].includes(message.type)) return; //checks for join messages, slash commands, booster messages etc const [user] = await Level.findOrBuild({ |