> For the complete documentation index, see [llms.txt](https://tribui141108.gitbook.io/nocli-handler.js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tribui141108.gitbook.io/nocli-handler.js/guides/instance/things-you-really-need-to-know.md).

# Things you really need to know

There are some things you need to know about some options before working on outside of this NoCliHandler instance.

### Debugging (`debugging`)

<table><thead><tr><th width="215">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>showFullErrorLog</code></td><td>Whether or not to show the full error log</td></tr><tr><td><code>showBanner</code></td><td>Whether or not to show the banner upon the start of the program</td></tr></tbody></table>

### Configuring Cooldowns (`cooldownConfig`)

<table><thead><tr><th width="240">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>defaultErrorMessage</code></td><td>Sets the default error message</td></tr><tr><td><code>botOwnersBypass</code></td><td>Whether to allow bot owners to bypass command cooldowns</td></tr><tr><td><code>dbRequired</code></td><td>Sets the default command cooldown limit. If cooldown limit exceeds, it will be stored in the database</td></tr></tbody></table>

### Test Servers (`testServers`) and Bot Owners (`botOwners`)

<table><thead><tr><th width="168">Option</th><th>Description</th><th>Type</th></tr></thead><tbody><tr><td><code>testServers</code></td><td>The test servers only <code>testonly</code> commands can run in</td><td><code>String[]</code></td></tr><tr><td><code>botOwners</code></td><td>The bot owners</td><td><code>String[]</code></td></tr></tbody></table>

{% hint style="info" %}
For `botOwners`, the command handler will automatically add in the bot owners based on the person/organisation that owns the bot when not specified.
{% endhint %}

### Configuring Emojis (`emojiConfig`)

This emoji configuration will have the following options:

* `disabled`
* `enabled`
* `error`
* `info`
* `success`

All of these options have a type `String`, so do specify this if you want to have custom emojis for the bot to send messages based on the command handler.

### Disabling Default Commands (`disabledDefaultCommands`)

There are some default commands you do not want to deploy when the bot starts, so here is a trick.

`disabledDefaultCommands` has an `Array` type `String`, and here are the default commands you need to know to disable (some of them marked with a check are not implemented yet):

* [x] `channelcommand`
* [x] `customcommand`
* [x] `delcustomcommand`
* [ ] `prefix`
* [x] `requiredpermission`
* [x] `requiredrole`
* [x] `slash`
* [x] `togglecommand`

Just specify any of them into an array and the command handler will disable it for you.

{% hint style="warning" %}
When **specifying one** of these default commands, please **specify them correctly**. Otherwise, the command handler will **ignore the incorrectly spelled specified default commands**
{% endhint %}
