Files
discordeno/mod.ts
2020-03-23 19:26:19 -04:00

14 lines
364 B
TypeScript

import Client from "./module/client.ts"
import { configs } from "./configs.ts"
import { Intents } from "./types/options.ts"
import { logYellow } from "./utils/logger.ts"
Client({
token: configs.token,
bot_id: "675412054529540107",
intents: [Intents.GUILDS, Intents.GUILD_MESSAGES],
event_handlers: {
ready: () => logYellow("Bot ready emitted")
}
})