crv2/discord/events/Ready.ts

13 lines
328 B
TypeScript
Raw Permalink Normal View History

2024-03-19 17:41:20 -04:00
import DiscordEvent from "../../util/DiscordEvent";
import { Client } from "discord.js";
export default class Ready extends DiscordEvent {
constructor(client: Client) {
super("ready", client);
}
public async execute(): Promise<void> {
console.log(`Logged in as ${this.client.user?.tag}!`);
}
}