From db76dcacf4f55d0050fd78ae726edc68a075061c Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Sat, 12 Feb 2022 21:28:06 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/node/boto.js b/node/boto.js index 01234c2..dce6b18 100644 --- a/node/boto.js +++ b/node/boto.js @@ -55,6 +55,12 @@ client.on('message', (channel, tags, message, self) => { const result = Math.floor(Math.random() * 6) + 1; client.say(channel, `/me Bleep-Bloop! @${tags.username} has rolled a ${result}! Praise RNGesus!`); } + // MTG Dice Roll + if(command === 'mtgdice' || + command === 'mtgroll') { + const result = Math.floor(Math.random() * ${args.join(' ')}) + 1; + client.say(channel, `/me Bleep-Bloop! @${tags.username} has rolled a ${result}! Praise RNGesus!`); + } // LURK if(command === 'lurk' || command === 'lurkin' ||