From 0809c0a77f427b9666dff9d1cfd9d40a098fb1c1 Mon Sep 17 00:00:00 2001 From: Ducko Date: Tue, 17 Oct 2023 19:56:54 +0200 Subject: [PATCH] Update client.ts --- packages/bot/src/events/ready/client.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/bot/src/events/ready/client.ts b/packages/bot/src/events/ready/client.ts index 3e62cbb5..6137c8ce 100644 --- a/packages/bot/src/events/ready/client.ts +++ b/packages/bot/src/events/ready/client.ts @@ -1,7 +1,6 @@ import { DiscordClient } from '../../bot.js'; import { EventInterface } from '../../components/typings/index.js'; import { Events, ActivityType, PresenceStatusData } from 'discord.js'; -import { logger } from '../../components/handlers/exports.js'; import moment from 'moment-timezone'; const event: EventInterface = { @@ -28,7 +27,7 @@ const event: EventInterface = { if (currentMonth === 6 && currentDay === 7) { presenceActivity = 'Happy Birthday GVO! 🎉🎂'; presenceStatus = 'idle'; - } else if (currentMonth === 10 && currentDay === 31) { + } else if (currentMonth === 10 && currentDay >= 1 && currentDay <= 31) { clientAvatar = guildAvatar = avatars.get('halloween'); presenceActivity = 'Spooky Halloween 🎃👻'; presenceStatus = 'idle';