fix modifiers parsing

This commit is contained in:
Ean Milligan 2025-07-08 17:57:07 -04:00
parent 3d146e9c7b
commit b2d4d0c0a4
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ export const roll = async (message: DiscordenoMessage, args: string[], command:
const m = await message.reply(rollingEmbed);
// Get modifiers from command
const [modifiers, remainingArgs] = getModifiers(args);
const [modifiers, remainingArgs] = getModifiers(args.join('').split(' '));
// Return early if the modifiers were invalid
if (!modifiers.valid) {