DiscordJS-Example/events/ready.js

9 lines
242 B
JavaScript
Raw Normal View History

2024-02-11 01:04:12 +00:00
import { Events, Client } from 'discord.js';
2024-01-26 13:28:02 +00:00
export const name = Events.ClientReady;
export const once = true;
2024-02-11 01:04:12 +00:00
/** @param {Client} client */
2024-01-26 13:28:02 +00:00
export function execute(client) {
console.info(`[INFO] Ready! Logged in as ${client.user.tag}`);
}