mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-01-06 20:37:54 -05:00
how did i never catch this, if prefix is not 2 characters it breaks, this allows it to be anything
This commit is contained in:
@ -50,7 +50,7 @@ export const roll = async (message: DiscordenoMessage, args: string[], command:
|
||||
}
|
||||
|
||||
// Rejoin all of the args and send it into the solver, if solver returns a falsy item, an error object will be substituted in
|
||||
const rollCmd = message.content.substring(2);
|
||||
const rollCmd = message.content.substring(config.prefix.length);
|
||||
|
||||
queueRoll({
|
||||
apiRoll: false,
|
||||
|
||||
Reference in New Issue
Block a user