1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-01-06 20:37:54 -05:00
This commit is contained in:
Ean Milligan
2025-07-17 17:11:11 -04:00
parent a4ddce0bc8
commit 6d731951c7

View File

@ -254,14 +254,14 @@ Please click on "<@${botId}> *Click to see attachment*" above this message to se
JSON.stringify( JSON.stringify(
rollRequest.modifiers.count rollRequest.modifiers.count
? { ? {
counts: returnMsg.counts, counts: returnMsg.counts,
details: pubEmbedDetails, details: pubEmbedDetails,
} }
: { : {
details: pubEmbedDetails, details: pubEmbedDetails,
} },
) ),
) ),
); );
} }
} catch (e) { } catch (e) {
@ -272,12 +272,13 @@ Please click on "<@${botId}> *Click to see attachment*" above this message to se
( (
await generateRollEmbed( await generateRollEmbed(
rollRequest.dd.originalMessage.authorId, rollRequest.dd.originalMessage.authorId,
<SolvedRoll>{ <SolvedRoll> {
error: true, 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', errorCode: 'UnhandledWorkerComplete',
}, },
<RollModifiers>{} <RollModifiers> {},
) )
).embed, ).embed,
], ],