File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,11 +27,12 @@ import {
2727} from "#handler/commandHandler.ts" ;
2828import * as guildMemberHandler from "#handler/guildMemberHandler.ts" ;
2929import deleteThreadMessagesHandler from "#handler/messageCreate/deleteThreadMessagesHandler.ts" ;
30+ import { handlePresenceUpdate } from "#handler/presenceHandler.ts" ;
3031import { createBotContext , type BotContext } from "#context.ts" ;
3132import { ehreReactionHandler } from "#commands/ehre.ts" ;
3233import * as terminal from "#utils/terminal.ts" ;
34+ import * as dateUtils from "#utils/dateUtils.ts" ;
3335import * as cronService from "#service/cron.ts" ;
34- import { handlePresenceUpdate } from "./handler/presenceHandler.ts" ;
3536
3637const env = process . env ;
3738
@@ -44,7 +45,7 @@ const release =
4445 const prodMode = env . NODE_ENV === "production" ? terminal . highlightWarn ( " prod mode " ) : "" ;
4546
4647 const cszBot = terminal . highlight ( " CSZ Bot " ) ;
47- const year = new Date ( ) . getFullYear ( ) ;
48+ const year = dateUtils . zonedNow ( ) . year ;
4849
4950 console . log ( ) ;
5051 console . log ( " ┌───────────┐" ) ;
You can’t perform that action at this time.
0 commit comments