Files
discordeno/mod.ts
2020-03-22 14:16:02 -04:00

14 lines
368 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"
new Client({
token: configs.token,
bot_id: "675412054529540107",
intents: [Intents.GUILDS, Intents.GUILD_MESSAGES],
event_handlers: {
ready: () => logYellow("Bot ready emitted")
}
})