mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-06-04 09:03:50 -04:00
comments
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user