diff --git a/src/artigen/dice/randomRoll.ts b/src/artigen/dice/randomRoll.ts index d0e6872..7f48d4d 100644 --- a/src/artigen/dice/randomRoll.ts +++ b/src/artigen/dice/randomRoll.ts @@ -26,7 +26,7 @@ const getRollFromArray = (sides: number[], modifiers: RollModifiers): number => return Math.min(...sides); } - return sides[genBasicRoll(sides.length, modifiers, { on: false }) - 1]; + return sides[genBasicRoll(sides.length, modifiers, { on: false }) - 1]; }; export const generateRoll = (rollConf: RollConf, modifiers: RollModifiers): number => { diff --git a/src/endpoints/gets/apiRoll.ts b/src/endpoints/gets/apiRoll.ts index 135b78f..1151849 100644 --- a/src/endpoints/gets/apiRoll.ts +++ b/src/endpoints/gets/apiRoll.ts @@ -117,7 +117,7 @@ export const apiRoll = async (query: Map, apiUserid: bigint): Pr const [name, rawSides] = shape.split(':').filter((x) => x); if (!name || !rawSides) { return stdResp.BadRequest( - 'cd specified with invalid pattern. Must be in format of `name:[side1,side2,...,sideN]`. If multiple custom dice shapes are needed, use a `;` to separate the list' + 'cd specified with invalid pattern. Must be in format of `name:[side1,side2,...,sideN]`. If multiple custom dice shapes are needed, use a `;` to separate the list', ); } @@ -177,7 +177,7 @@ export const apiRoll = async (query: Map, apiUserid: bigint): Pr } else { // Alert API user that they messed up return stdResp.Forbidden( - `Verify you are a member of the guild you are sending this roll to. If you are, the ${config.name} may not have that registered, please send a message in the guild so ${config.name} can register this. This registration is temporary, so if you see this error again, just poke your server again.` + `Verify you are a member of the guild you are sending this roll to. If you are, the ${config.name} may not have that registered, please send a message in the guild so ${config.name} can register this. This registration is temporary, so if you see this error again, just poke your server again.`, ); } } else {