UNPKG

create-discord-bot

Version:

A simple way to create a startup Discord bot.

11 lines (9 loc) 246 B
import { Events } from 'discord.js'; /** @type {import('./index.js').Event<Events.ClientReady>} */ export default { name: Events.ClientReady, once: true, async execute(client) { console.log(`Ready! Logged in as ${client.user.tag}`); }, };