dcjs-command-handler
Version:
Command Handler For Discord Bots
21 lines (14 loc) • 384 B
JavaScript
/** @format */
const Discord = require("discord.js");
const Command = require("./Command.js");
const intents = new Discord.Intents(32767);
class Client extends Discord.Client {
constructor(options) {
super({ intents });
/**
* @type {Discord.Collection<string, Command>}
*/
this.commands = new Discord.Collection();
}
}
module.exports = Client;