Fixed typo, the bot should now work.

This commit is contained in:
Tenkuma 2025-05-03 18:23:41 -03:00 committed by GitHub
commit fffb07b871
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",
];