Fixed typo, the bot should now work.
This commit is contained in:
parent
ba89e901ca
commit
fffb07b871
1 changed files with 11 additions and 12 deletions
7
index.js
7
index.js
|
|
@ -47,11 +47,10 @@ client.on ('ready', () => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Check if it's something you want to reply and replies
|
// 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')) {
|
if (message.content.toLowerCase().includes('theFirstWord') || (message.content.toLowerCase().includes('theSecondWord') && message.content.toLowerCase().includes('fofa'))) {
|
||||||
message.reply('^v-v^');
|
message.reply('^v-v^');
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// Get slash command
|
// Get slash command
|
||||||
client.on(Events.InteractionCreate, async interaction => {
|
client.on(Events.InteractionCreate, async interaction => {
|
||||||
|
|
@ -147,8 +146,8 @@ const activities_list = [
|
||||||
"Sono Que Eu Perdi (Demo) by YunLi",
|
"Sono Que Eu Perdi (Demo) by YunLi",
|
||||||
"Acabou by YunLi",
|
"Acabou by YunLi",
|
||||||
"Saudades Eu Até Sinto (Demo) by YunLi",
|
"Saudades Eu Até Sinto (Demo) by YunLi",
|
||||||
"Dói Demais (Demo) by YunLi",
|
|
||||||
"Playback (Demo) by YunLi",
|
"Playback (Demo) by YunLi",
|
||||||
|
"Playback by YunLi",
|
||||||
"Lista De Favoritos (Demo) by YunLi",
|
"Lista De Favoritos (Demo) by YunLi",
|
||||||
"Sprinter Trueno by YunLi",
|
"Sprinter Trueno by YunLi",
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue