aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/message
diff options
context:
space:
mode:
Diffstat (limited to 'src/listeners/message')
-rw-r--r--src/listeners/message/level.ts3
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({