parent
96dd7bce95
commit
2629659ffc
1 changed files with 3 additions and 2 deletions
|
@ -34,8 +34,9 @@ export default class CommandManager {
|
||||||
interaction.reply({
|
interaction.reply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
color: 0xff0000,
|
color: 0xff0000,
|
||||||
description: `Failed to perform interaction:\n\`${e}\``,
|
description: `Failed to perform interaction:\n\`\`${e}\`\``,
|
||||||
}]
|
}],
|
||||||
|
ephemeral: true,
|
||||||
}).catch(() => {/* NOTE: We're still logging the issue that happened to the console */});
|
}).catch(() => {/* NOTE: We're still logging the issue that happened to the console */});
|
||||||
console.error(`Failed to perform interaction: ${interaction.commandName}`);
|
console.error(`Failed to perform interaction: ${interaction.commandName}`);
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|
Loading…
Reference in a new issue