mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
should fix birthdays (oopsie daisy)
This commit is contained in:
parent
e5737c4f95
commit
e67ce7cd53
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module.exports.init = async function (client) {
|
||||||
const guildData = await client.findOrCreateGuild(guild.id);
|
const guildData = await client.findOrCreateGuild(guild.id);
|
||||||
|
|
||||||
if (guildData.plugins.birthdays) {
|
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(),
|
date = new Date(),
|
||||||
currentDay = date.getDate(),
|
currentDay = date.getDate(),
|
||||||
currentMonth = date.getMonth(),
|
currentMonth = date.getMonth(),
|
||||||
|
|
Loading…
Reference in a new issue