aboutsummaryrefslogtreecommitdiff
path: root/bot/src/events
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/events')
-rw-r--r--bot/src/events/InteractionCreate.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/src/events/InteractionCreate.js b/bot/src/events/InteractionCreate.js
index 976b995..387c775 100644
--- a/bot/src/events/InteractionCreate.js
+++ b/bot/src/events/InteractionCreate.js
@@ -1,9 +1,6 @@
import { Events, MessageFlags } from 'discord.js';
import { Analytics } from '../plugins/analytics.js';
-
-function error(e) {
- return `Something went wrong. [Submit an issue at the AleeBot repository.](<https://github.com/Alee14/AleeBot/issues>)\nMessage:\n\`\`\`js\n${e.stack}\`\`\``;
-}
+import { error } from '../storage/functions.js';
export default {
name: Events.InteractionCreate,