From 53c1b241540a2a4ac1c9587abba60f7cbf65895f Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Wed, 23 Nov 2022 23:28:21 +1100 Subject: [PATCH] go back to where you came from. --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 30f6331..e0440e9 100644 --- a/src/client.ts +++ b/src/client.ts @@ -426,7 +426,7 @@ class userLevels extends Database { } } else if (data.messages >= this.algorithm(data.level+1)){// If user's message count meets/exceeds message requirement for next level... this._content[userid].level++;// Level them up. - (this.client.channels.resolve(this.client.config.mainServer.channels.thismeanswar) as Discord.TextChannel).send({content: `<@${userid}> has reached level **${data.level}**. GG!`, allowedMentions: {parse: ['users']}}) + (this.client.channels.resolve(this.client.config.mainServer.channels.botcommands) as Discord.TextChannel).send({content: `<@${userid}> has reached level **${data.level}**. GG!`, allowedMentions: {parse: ['users']}}) } } else {// If user doesn't exist on file, create an object for it. this._content[userid] = {messages: 1, level: 0};