aboutsummaryrefslogtreecommitdiff
path: root/bot/src/events/InteractionCreate.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/events/InteractionCreate.js')
-rw-r--r--bot/src/events/InteractionCreate.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/src/events/InteractionCreate.js b/bot/src/events/InteractionCreate.js
index b1e7593..4e39241 100644
--- a/bot/src/events/InteractionCreate.js
+++ b/bot/src/events/InteractionCreate.js
@@ -1,4 +1,4 @@
-import { Events, MessageFlags } from "discord.js";
+import { Events, MessageFlags } from 'discord.js';
export default {
name: Events.InteractionCreate,
@@ -13,7 +13,7 @@ export default {
await command.execute(interaction, client);
} catch (e) {
console.error(e);
- await interaction.reply({ content: 'Something went wrong.', flags: MessageFlags.Ephemeral });
+ await interaction.reply({ content: `Something went wrong. Send the following error message to Alee:\n\`\`\`${e}\`\`\``, flags: MessageFlags.Ephemeral });
}
}
-}
+};