deno fmt
This commit is contained in:
parent
e957e181d5
commit
152b9ff153
|
@ -275,8 +275,8 @@ Please click on "<@${botId}> *Click to see attachment*" above this message to se
|
|||
status: STATUS_CODE.OK,
|
||||
statusText: STATUS_TEXT[STATUS_CODE.OK],
|
||||
headers,
|
||||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -287,12 +287,13 @@ Please click on "<@${botId}> *Click to see attachment*" above this message to se
|
|||
(
|
||||
await generateRollEmbed(
|
||||
rollRequest.dd.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,
|
||||
],
|
||||
|
|
|
@ -119,7 +119,7 @@ export const apiRoll = async (query: Map<string, string>, 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',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue