Im trying to do a math.random
script for a discord bot, where you ask something and randomly responds with 1 of the 2 answers
client.on('message' , function (message){
if (message.content == '.dicksize')
{
var roll =(Math.floor(Math.random()*200)+1);
if (roll == 1)
{
message.reply('E CAT ZIDU DIN CHINA COAIE');
}
else
{
message.reply('e mica puta sefu');
}
}
});
When I execute the command, it only answers with 1 of the 2 answers, it never selects the other one
Aucun commentaire:
Enregistrer un commentaire