diff --git a/events/reactions/reactionAdd.js b/events/reactions/reactionAdd.js index f907e7f..b12a43a 100644 --- a/events/reactions/reactionAdd.js +++ b/events/reactions/reactionAdd.js @@ -1,6 +1,7 @@ import { config } from 'dotenv'; import { Events } from 'discord.js'; import { Message, RoleEmojiPair } from '../../database.js'; + config(); export const name = Events.MessageReactionAdd; diff --git a/events/reactions/reactionRemove.js b/events/reactions/reactionRemove.js index 2c0f2e3..f91dd08 100644 --- a/events/reactions/reactionRemove.js +++ b/events/reactions/reactionRemove.js @@ -1,6 +1,7 @@ import { config } from 'dotenv'; import { Events } from 'discord.js'; import { Message, RoleEmojiPair } from '../../database.js'; + config(); export const name = Events.MessageReactionRemove;