1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 09:03:50 -04:00

BIIIIIG change here: NESTED ROLLS :D

Also, start the reorganization of artigen to support nesting better, make smaller more readable files, and better named functions
This commit is contained in:
Ean Milligan
2025-05-03 07:51:12 -04:00
parent bdec5e7850
commit 03a2acc386
10 changed files with 461 additions and 328 deletions

View File

@@ -49,13 +49,10 @@ export const roll = async (message: DiscordenoMessage, args: string[], command:
return;
}
// 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(config.prefix.length);
sendRollRequest({
apiRoll: false,
dd: { myResponse: m, originalMessage: message },
rollCmd,
rollCmd: message.content,
modifiers,
originalCommand,
});