ready.ts

1import { Client, Events } from 'discord.js'
2import { Bot, Event } from '@/types/bot'
3import Logger from '@/classes/logger'
4
5export default {
6	name: Events.ClientReady,
7	once: true,
8	execute(client: Bot<Client>) {
9		Logger.log('info', `Logged in as ${client.user?.tag}`, 'Client')
10	},
11} as Event
12