fce43b9b2f
Only really used for reaction roles at the moment.
15 lines
345 B
TypeScript
15 lines
345 B
TypeScript
import { Events } from "discord.js";
|
|
import { Event } from "../types/ExtendedClient";
|
|
import { ExtendedClient } from "../client/client";
|
|
|
|
const event: Event = {
|
|
data: {
|
|
name: Events.ClientReady
|
|
},
|
|
once: true,
|
|
exec: (c: ExtendedClient) => {
|
|
console.log(`Succesfully logged in as ${c.user?.username}`);
|
|
}
|
|
}
|
|
|
|
export default event; |