This commit is contained in:
Ean Milligan 2025-07-17 03:01:28 -04:00
parent 2d55c073ee
commit 96cffd9c4c
1 changed files with 11 additions and 10 deletions

View File

@ -241,9 +241,9 @@ As anyone with the Web View link can view the roll, Web View is disabled by defa
}
: {
details: pubEmbedDetails,
}
)
)
},
),
),
);
}
} catch (e) {
@ -254,12 +254,13 @@ As anyone with the Web View link can view the roll, Web View is disabled by defa
(
await generateRollEmbed(
rollRequest.dd.originalMessage.authorId,
<SolvedRoll>{
<SolvedRoll> {
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',
},
<RollModifiers>{}
<RollModifiers> {},
)
).embed,
],