From 76d6230e97777e6b00dc33ba2e8ea6da957bc1a0 Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Tue, 10 Mar 2020 00:42:20 +0000 Subject: [PATCH] Update diceroll.js --- src/commands/diceroll.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/diceroll.js b/src/commands/diceroll.js index 569f381..b307d4e 100644 --- a/src/commands/diceroll.js +++ b/src/commands/diceroll.js @@ -1,11 +1,11 @@ exports.run = async (bot, message, args) => { if (args.length === 0) { - message.channel.send(`🎲 The dice landed on ${Array.from(Array(6).keys()).random() + 1}.`); + message.channel.send(`🎲 You rolled a ${Array.from(Array(6).keys()).random() + 1}!`); } else { if (args[0].match(/^\d+$/)) { - message.channel.send(`🎲 The dice landed on ${Array.from(Array(parseInt(args[0])).keys()).random() + 1}.`); + message.channel.send(`🎲 You rolled a ${Array.from(Array(parseInt(args[0])).keys()).random() + 1}!`); } else { - message.channel.send(`🎲 The dice landed on ${Array.from(Array(6).keys()).random() + 1}.`); + message.channel.send(`🎲 You rolled a ${Array.from(Array(6).keys()).random() + 1}!`); } } }; @@ -24,4 +24,4 @@ exports.run = async (bot, message, args) => { description: "Rolls a dice.", usage: "dice" }; - \ No newline at end of file +