fix nested rolls not working in certain scenarios

This commit is contained in:
Ean Milligan 2025-08-04 16:48:22 -04:00
parent 3f6162a1a4
commit 67d5704a76
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ export const messageCreateHandler = (message: DiscordenoMessage) => {
} else if (command && `${command}${args.join('')}`.includes(config.postfix)) { } else if (command && `${command}${args.join('')}`.includes(config.postfix)) {
// [[roll]] // [[roll]]
// Dice rolling commence! // Dice rolling commence!
commands.roll(message, argSpaces, command); commands.roll(message, argSpaces, `${config.prefix}${command}`);
} else if (command) { } else if (command) {
// [[emoji or [[emoji-alias // [[emoji or [[emoji-alias
// Check if the unhandled command is an emoji request // Check if the unhandled command is an emoji request