mardi 2 mars 2021

Javascript variables, skipping condition in 'if' [closed]

So, Im a real beginner at Javascript. I don't see anything wrong here but its not working. What should I do?

if (status == 1); {
    bot.on('message', message => { // This is where we will handle all message events. Aka, the commands that will trigger the bot.

        if (message.content.toLowerCase().includes('one')) {
            message.channel.send('1');
        }
    });
}

Aucun commentaire:

Enregistrer un commentaire