Repository navigation
New structure !
From now on the whole structure is based on my module simple-djs-handler!
Here is the index :
const { BotClient } = require('simple-djs-handler');
const { GatewayIntentBits } = require('discord.js');
const config = require("./data/config");
const client = new BotClient({
token: config.bot.token,
slashCommandsEnabled: true,
slashCommandsClientId: config.bot.client_id,
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessages
],
});
client.start();