mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 08:20:08 +00:00
17 lines
389 B
TypeScript
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()
|