Update 'node/boto.js'
This commit is contained in:
parent
fbc5125a8d
commit
54a5b515d9
10
node/boto.js
10
node/boto.js
|
@ -72,16 +72,6 @@ client.on('message', (channel, tags, message, self) => {
|
|||
command === 'discord') {
|
||||
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
|
||||
|
||||
}); // SCAN MSG | END
|
||||
|
|
Loading…
Reference in New Issue