From 6d731951c7609f7fec1d4f36eb6671986de5b4ef Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Thu, 17 Jul 2025 17:11:11 -0400 Subject: [PATCH] deno fmt --- .../managers/handler/workerComplete.ts | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/artigen/managers/handler/workerComplete.ts b/src/artigen/managers/handler/workerComplete.ts index 1e5db09..61ba329 100644 --- a/src/artigen/managers/handler/workerComplete.ts +++ b/src/artigen/managers/handler/workerComplete.ts @@ -254,14 +254,14 @@ Please click on "<@${botId}> *Click to see attachment*" above this message to se JSON.stringify( rollRequest.modifiers.count ? { - counts: returnMsg.counts, - details: pubEmbedDetails, - } + counts: returnMsg.counts, + details: pubEmbedDetails, + } : { - details: pubEmbedDetails, - } - ) - ) + details: pubEmbedDetails, + }, + ), + ), ); } } catch (e) { @@ -272,12 +272,13 @@ Please click on "<@${botId}> *Click to see attachment*" above this message to se ( await generateRollEmbed( rollRequest.dd.originalMessage.authorId, - { + { error: true, - errorMsg: `Something weird went wrong, likely the requested roll is too complex and caused the response to be too large for Discord. Try breaking the request down into smaller messages and try again.\n\nIf this error continues to come up, please \`${config.prefix}report\` this to my developer.`, + errorMsg: + `Something weird went wrong, likely the requested roll is too complex and caused the response to be too large for Discord. Try breaking the request down into smaller messages and try again.\n\nIf this error continues to come up, please \`${config.prefix}report\` this to my developer.`, errorCode: 'UnhandledWorkerComplete', }, - {} + {}, ) ).embed, ],