11 lines
266 B
TypeScript
11 lines
266 B
TypeScript
import { GatewayIntentBits } from "discord.js";
|
|
|
|
import config from "./config.js";
|
|
import Client from "./lib/client.js";
|
|
|
|
const client = new Client({
|
|
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildVoiceStates]
|
|
});
|
|
|
|
client.login(config.discordToken);
|