mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-06-04 09:03:50 -04:00
API updated to user rollWorker for rolling, fixed api not working at all lol
This commit is contained in:
@@ -52,9 +52,10 @@ export const roll = async (message: DiscordenoMessage, args: string[], command:
|
||||
queueRoll(
|
||||
<QueuedRoll> {
|
||||
apiRoll: false,
|
||||
dd: { m, message, originalCommand },
|
||||
dd: { m, message },
|
||||
rollCmd,
|
||||
modifiers,
|
||||
originalCommand,
|
||||
},
|
||||
);
|
||||
} catch (e) {
|
||||
|
||||
@@ -24,6 +24,7 @@ export const getModifiers = (m: DiscordenoMessage, args: string[], command: stri
|
||||
order: '',
|
||||
valid: false,
|
||||
count: false,
|
||||
apiWarn: '',
|
||||
};
|
||||
|
||||
// Check if any of the args are command flags and pull those out into the modifiers object
|
||||
|
||||
Reference in New Issue
Block a user