From 37c3d9df8f5e03bf627f0a5d113c3064e7addd0f Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 16 Dec 2022 23:24:40 -0600 Subject: [PATCH] Take 2 Bug Fix roll.js --- commands/roll.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/roll.js b/commands/roll.js index 650c44f..11c9778 100644 --- a/commands/roll.js +++ b/commands/roll.js @@ -86,8 +86,8 @@ module.exports = { } if (rollMod != 0) { - rollModStr = ' ' + modSign + ' ' + (rollMod); - rollModNota = modSign + abs(rollMod); + rollModStr = ' ' + modSign + ' ' + Math.abs(rollMod); + rollModNota = modSign + Math.abs(rollMod); } const diceRollsString = diceRolls.toString().split(',').join(' + ');