Skip to content

@0.0.9

Latest

Choose a tag to compare

@Cut0x Cut0x released this 18 Nov 02:52

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();