From 006665259048707b271f0aa3fc015198b33f7692 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Sat, 21 Jun 2025 21:09:05 -0400 Subject: [PATCH] deno fmt --- src/artigen/cmdTokenizer.ts | 8 +++----- src/endpoints/gets/apiRoll.ts | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/artigen/cmdTokenizer.ts b/src/artigen/cmdTokenizer.ts index 4498a5a..133c550 100644 --- a/src/artigen/cmdTokenizer.ts +++ b/src/artigen/cmdTokenizer.ts @@ -21,7 +21,7 @@ export const tokenizeCmd = ( cmd: string[], modifiers: RollModifiers, topLevel: boolean, - previousResults: number[] = [] + previousResults: number[] = [], ): [ReturnData[], CountDetails[], RollDistributionMap[]] => { loggingEnabled && log(LT.LOG, `Tokenizing command ${JSON.stringify(cmd)}`); @@ -43,9 +43,7 @@ export const tokenizeCmd = ( loggingEnabled && log( LT.LOG, - `Setting previous results: topLevel:${topLevel} ${ - topLevel ? returnData.map((rd) => rd.rollTotal) : previousResults - } simulatedLoopCount:${simulatedLoopCount}` + `Setting previous results: topLevel:${topLevel} ${topLevel ? returnData.map((rd) => rd.rollTotal) : previousResults} simulatedLoopCount:${simulatedLoopCount}`, ); const simulatedData: ReturnData[] = []; @@ -86,7 +84,7 @@ export const tokenizeCmd = ( currentCmd, modifiers, false, - topLevel ? returnData.map((rd) => rd.rollTotal) : previousResults + topLevel ? returnData.map((rd) => rd.rollTotal) : previousResults, ); const ccData = ccTempData[0]; ccData.rollPreFormat = '\nAuto-Confirming Crit: '; diff --git a/src/endpoints/gets/apiRoll.ts b/src/endpoints/gets/apiRoll.ts index 869a86a..235cf73 100644 --- a/src/endpoints/gets/apiRoll.ts +++ b/src/endpoints/gets/apiRoll.ts @@ -138,7 +138,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 {