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

V2.0.1 - Fix parens, update guild audit command

This commit is contained in:
Ean Milligan (Bastion)
2022-07-08 23:51:31 -04:00
parent 9a8c718d57
commit c4c7098479
4 changed files with 9 additions and 4 deletions

View File

@@ -79,6 +79,11 @@ Please see attached file for audit details on cached guilds and members.`,
value: `${botsCount}`,
inline: true,
},
{
name: 'Average members per guild:',
value: `${(totalCount / cache.guilds.size).toFixed(2)}`,
inline: true,
},
],
}],
file: {

View File

@@ -15,7 +15,7 @@ import { fullSolver } from './solver.ts';
// parseRoll(fullCmd, modifiers)
// parseRoll handles converting fullCmd into a computer readable format for processing, and finally executes the solving
export const parseRoll = (fullCmd: string, modifiers: RollModifiers): SolvedRoll => {
const operators = ['^', '*', '/', '%', '+', '-'];
const operators = ['^', '*', '/', '%', '+', '-', '(', ')'];
const returnmsg = <SolvedRoll> {
error: false,
errorCode: '',