Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-12 05:00:22 +00:00
parent fbc5125a8d
commit 54a5b515d9
1 changed files with 0 additions and 10 deletions

View File

@ -72,16 +72,6 @@ client.on('message', (channel, tags, message, self) => {
command === 'discord') { command === 'discord') {
client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`); client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`);
} }
else if(command === 'dice' ||
command === 'yahtzee') {
const rollsix = Math.floor(Math.random() * 6) + 1;
client.say(channel, `@${tags.username}, You rolled a ${rollsix}.`);
}
else if(command === 'roll' ||
command === 'rolldie') {
const rolldice = Math.floor(Math.random() * ${args.join(' ')}) + 1;
client.say(channel, `@${tags.username}, You rolled a ${args.join(' ')} sided dice and got a ${rolldice}.`);
}
} // !ALL | END } // !ALL | END
}); // SCAN MSG | END }); // SCAN MSG | END