Skip to content

Commit

Permalink
fix(roll): undefined text in command
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Dec 7, 2024
1 parent f6fbda3 commit 648caaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bot/src/utils/roll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function rollWithInteraction(
infoRoll,
customCritical
);
const output = defaultMsg.output;
const output = defaultMsg.defaultMessage();
if (defaultMsg.error) {
await reply(interaction, {
embeds: [embedError(output, ul)],
Expand Down

0 comments on commit 648caaf

Please sign in to comment.