diff --git a/helpers/birthdays.js b/helpers/birthdays.js index 227b6328..6ccb5e6c 100644 --- a/helpers/birthdays.js +++ b/helpers/birthdays.js @@ -11,7 +11,7 @@ module.exports.init = async function (client) { const guildData = await client.findOrCreateGuild(guild.id); if (guildData.plugins.birthdays) { - const channel = client.channels.cache.get(guildData.plugins.birthdays) || await client.channels.fetch(guildData.plugins.birthdays), + const channel = guild.channels.cache.get(guildData.plugins.birthdays) || await guild.channels.fetch(guildData.plugins.birthdays), date = new Date(), currentDay = date.getDate(), currentMonth = date.getMonth(),