diff --git a/src/commands/roll/getModifiers.ts b/src/commands/roll/getModifiers.ts index f4204ec..5edd86e 100644 --- a/src/commands/roll/getModifiers.ts +++ b/src/commands/roll/getModifiers.ts @@ -58,7 +58,7 @@ export const getModifiers = (m: DiscordenoMessage, args: string[], command: stri while (((i + 1) < args.length) && args[i + 1].startsWith('<@')) { log(LT.LOG, `Finding all GMs, checking args ${JSON.stringify(args)}`); // Keep looping thru the rest of the args until one does not start with the discord mention code - modifiers.gms.push(args[i + 1].replace(/[!]/g, '')); + modifiers.gms.push(args[i + 1].replace(/!/g, '')); args.splice(i + 1, 1); } if (modifiers.gms.length < 1) {