From fffb07b87140421b47e20a885723c5d9d17c0029 Mon Sep 17 00:00:00 2001 From: Tenkuma <85490958+adrianvic@users.noreply.github.com> Date: Sat, 3 May 2025 18:23:41 -0300 Subject: [PATCH] Fixed typo, the bot should now work. --- index.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/index.js b/index.js index 7164973..f6e60b3 100644 --- a/index.js +++ b/index.js @@ -42,16 +42,15 @@ client.on ('ready', () => { }) // Get any message - client.on('messageCreate', message => { - if (message.author.bot) { - return; - } - // Check if it's something you want to reply and replies - if (message.content.toLowerCase().includes('theFirstWord') || message.content.toLowerCase().includes('theSecondWord') && message.content.toLowerCase().includes('fofa')) { - message.reply('^v-v^'); - } - - +client.on('messageCreate', message => { + if (message.author.bot) { + return; + } + // Check if it's something you want to reply and replies + if (message.content.toLowerCase().includes('theFirstWord') || (message.content.toLowerCase().includes('theSecondWord') && message.content.toLowerCase().includes('fofa'))) { + message.reply('^v-v^'); + } +}); // Get slash command client.on(Events.InteractionCreate, async interaction => { @@ -147,8 +146,8 @@ const activities_list = [ "Sono Que Eu Perdi (Demo) by YunLi", "Acabou by YunLi", "Saudades Eu Até Sinto (Demo) by YunLi", - "Dói Demais (Demo) by YunLi", "Playback (Demo) by YunLi", + "Playback by YunLi", "Lista De Favoritos (Demo) by YunLi", "Sprinter Trueno by YunLi", ]; @@ -171,4 +170,4 @@ client.on('ready', () => { // Log the bot in (put your token on config.js if you`re getting any error client.config = require('./config'); -client.login(client.config.token); \ No newline at end of file +client.login(client.config.token);