Identifier 'command' has already been declared
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
module.exports = async (message, args, db) => {
|
module.exports = async (message, args, db) => {
|
||||||
let command = args.join('')
|
let command = args.join('')
|
||||||
let regex = /\s?[DdWw]\s?/;
|
let regex = /\s?[DdWw]\s?/;
|
||||||
let command = command.split(regex);
|
command = command.split(regex);
|
||||||
|
|
||||||
if (command.length == 2){
|
if (command.length == 2){
|
||||||
let numberOfDice = command[0];
|
let numberOfDice = command[0];
|
||||||
|
Reference in New Issue
Block a user