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
21
index.js
21
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",
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue