Disabling Built-in Commands and Events
Don't want to use our built-in and only want a handler to load your commands, events and modules files? Want to use your own variation of these built-in commands and events? Then disable them and look at the setup provided by use and tailor these built-in commands and events to your needs.
Usage
const options = {
// object for disablinig the built-in command(s) and/or events(s)
builtin_files = {
commands: {
help: false,
reload: false,
},
events: {
messageCreate: false,
interactionCreate: false,
},
},
//Object to enable console logs of commands, events and/or modules being loaded
onLoad_list_files = {
commands: false,
events: false,
modules: false,
},
//Disable discord-features-handler unhandledRejection handler
disableUnhandledRejectionHandler = false,
};
DiscordFeaturesHandler(client, options);
Last updated