diff options
Diffstat (limited to 'src/listeners/message')
-rw-r--r-- | src/listeners/message/levelListener.ts (renamed from src/listeners/message/levels.ts) | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/listeners/message/levels.ts b/src/listeners/message/levelListener.ts index 3503584..3b23f36 100644 --- a/src/listeners/message/levels.ts +++ b/src/listeners/message/levelListener.ts @@ -19,6 +19,7 @@ export default class LevelListener extends BushListener { 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({ where: { id: message.author.id |