diff --git a/src/commands/roll.js b/src/commands/roll.js index 38b631b..32eecd0 100644 --- a/src/commands/roll.js +++ b/src/commands/roll.js @@ -2,7 +2,7 @@ module.exports = async (message, args, db) => { let command = args.join('') let regex = /\s?[DdWw]\s?/; - let command = command.split(regex); + command = command.split(regex); if (command.length == 2){ let numberOfDice = command[0];