1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 00:53:50 -04:00
This commit is contained in:
Ean Milligan
2025-05-03 22:30:43 -04:00
parent 0b864b0f21
commit 897fe80533
2 changed files with 3 additions and 1 deletions

View File

@@ -60,6 +60,8 @@ export const roll = async (message: DiscordenoMessage, args: string[], command:
}
let rollCmd = message.content.startsWith(`${config.prefix}r`) ? args.join(' ') : message.content;
// Try to ensure the roll is wrapped
if (!rollCmd.includes(config.prefix)) {
rollCmd = `${config.prefix}${rollCmd}`;
}