From 00ea78ddb478d81d85882ad3b53891f24868911c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 21 Mar 2024 23:15:00 -0400 Subject: [PATCH] Test --- commands/random-res/roll.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/random-res/roll.js b/commands/random-res/roll.js index 0e525f51..79a9058e 100644 --- a/commands/random-res/roll.js +++ b/commands/random-res/roll.js @@ -33,9 +33,13 @@ module.exports = class RollCommand extends Command { } run(msg, { maxValue, minValue }) { + console.log(maxValue); + console.log(minValue); let result; if (minValue) result = randomRange(minValue, maxValue); else result = Math.floor(Math.random() * maxValue) + 1; + console.log(result); + console.log(formatNumber(result)); return msg.say(`You rolled a ${formatNumber(result)}.`); } };