From b2d4d0c0a4a883c0e3d5f46ea5b4a81a4ae97455 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Tue, 8 Jul 2025 17:57:07 -0400 Subject: [PATCH] fix modifiers parsing --- src/commands/roll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/roll.ts b/src/commands/roll.ts index 9b3ae27..3063fd8 100644 --- a/src/commands/roll.ts +++ b/src/commands/roll.ts @@ -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) {