Disabling Built-in Commands and Events
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