This commit is contained in:
Skylar Grant 2022-12-21 19:04:52 -05:00
parent 06f9758bc2
commit b1ffd2d22b

View File

@ -178,7 +178,7 @@ client.on('interactionCreate', async interaction => {
client.on('messageCreate', message => { client.on('messageCreate', message => {
// Some basic checking to prevent running unnecessary code // Some basic checking to prevent running unnecessary code
if (message.author.bot) return; 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 // Wildcard Responses, will respond if any message contains the trigger word(s), excluding self-messages
const lowerContent = message.content.toLowerCase(); const lowerContent = message.content.toLowerCase();