mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-01-06 20:37:54 -05:00
fix modifiers parsing
This commit is contained in:
@ -45,7 +45,7 @@ export const roll = async (message: DiscordenoMessage, args: string[], command:
|
|||||||
const m = await message.reply(rollingEmbed);
|
const m = await message.reply(rollingEmbed);
|
||||||
|
|
||||||
// Get modifiers from command
|
// Get modifiers from command
|
||||||
const [modifiers, remainingArgs] = getModifiers(args);
|
const [modifiers, remainingArgs] = getModifiers(args.join('').split(' '));
|
||||||
|
|
||||||
// Return early if the modifiers were invalid
|
// Return early if the modifiers were invalid
|
||||||
if (!modifiers.valid) {
|
if (!modifiers.valid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user