21 lines
582 B
TypeScript
21 lines
582 B
TypeScript
// Dependencies
|
|
import { Client } from "discord.js";
|
|
import logger from "../../logger";
|
|
|
|
// Helpers
|
|
import updatePresence from "../../helpers/updatePresence";
|
|
import deployCommands from "../../handlers/deployCommands";
|
|
import devMode from "../../handlers/devMode";
|
|
import { IEventOptions } from "../../interfaces/EventOptions";
|
|
|
|
export const options: IEventOptions = {
|
|
type: "once",
|
|
};
|
|
|
|
export const execute = async (client: Client) => {
|
|
logger.info("Discord's API client is ready!");
|
|
|
|
await updatePresence(client);
|
|
await devMode(client);
|
|
await deployCommands(client);
|
|
};
|