From 0c377f6cce942925a45398d379259c3efce0d4ef Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Tue, 10 Mar 2020 00:35:38 +0000 Subject: [PATCH] Update dicerole.js --- src/commands/dicerole.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/dicerole.js b/src/commands/dicerole.js index 569f381..b307d4e 100644 --- a/src/commands/dicerole.js +++ b/src/commands/dicerole.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 +