Files
discordeno/mod.ts
2020-02-26 22:24:52 -05:00

17 lines
389 B
TypeScript

import Client from "./module/client.ts"
import { configs } from "./configs.ts"
import { Intents } from "./types/options.ts"
const startup = async () => {
new Client({
token: configs.token,
bot_id: "675412054529540107",
intents: [Intents.GUILDS, Intents.GUILD_MESSAGES],
event_handlers: {
guild_create: (guild) => console.log(guild.roles())
}
})
}
startup()