> For the complete documentation index, see [llms.txt](https://bng94.gitbook.io/discord-features-handler-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bng94.gitbook.io/discord-features-handler-docs/built-in/disabling-built-in-commands-and-events.md).

# 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

```javascript
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);
```
