diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-04-02 02:21:41 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-04-02 02:21:41 -0400 |
| commit | 10434adad478d21bbb834a5803125db9f54c9d6c (patch) | |
| tree | e1159a26948d24c2a065dfd15f71b64970515930 /bot/src/events | |
| parent | 657599acccf351c7c9366cec9f648b7496c89bdb (diff) | |
| download | AleeBot-beta.tar.gz AleeBot-beta.tar.bz2 AleeBot-beta.zip | |
Added i18n (basic); Blacklist feature; Put error msg into a filebeta
Diffstat (limited to 'bot/src/events')
| -rw-r--r-- | bot/src/events/InteractionCreate.js | 5 |
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, |
