From b1ffd2d22bbd03099c85867ab11ce51990a786b3 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Wed, 21 Dec 2022 19:04:52 -0500 Subject: [PATCH] Typo --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 4b7314c..88920ec 100644 --- a/main.js +++ b/main.js @@ -178,7 +178,7 @@ client.on('interactionCreate', async interaction => { client.on('messageCreate', message => { // Some basic checking to prevent running unnecessary code if (message.author.bot) return; - if (message.auther.id == client.user.id) return; + if (message.author.id == client.user.id) return; // Wildcard Responses, will respond if any message contains the trigger word(s), excluding self-messages const lowerContent = message.content.toLowerCase();