---
description: The base class of nocli-handler.js | Class
---

# NoCliHandler

### Constructor

```typescript
new NoCliHandler(options);
```

| Parameter | Description                      | Type                                                      |
| --------- | -------------------------------- | --------------------------------------------------------- |
| `options` | The options for nocli-handler.js | [NoCliHandlerOptions](../definitions/noclihandleroptions) |

### Properties

* [x] `client`  | [Discord#Client](https://discord.js.org/#/docs/discord.js/main/class/Client)
* [ ] `version` | `String`
* [x] `testServers` | `String[]`
* [x] `botOwners` | `String[]`
* [x] `disabledDefaultCommands` | `String[]`
* [x] `mongoDBConnection` | [MongoDBResult ](../definitions/mongodbresult)
* [ ] `showBanner` | `Boolean`
* [x] `defaultPrefix` | `String`
* [x] `debug` | [DebugOptions](../definitions/debugoptions)
* [x] `commandHandler` | [CommandHandler](commandhandler)
* [x] `commands` | `Map<string,`[`Command`](command)`>`
* [x] `emojiConfig` | [NoCliEmojiConfigOptions](../definitions/nocliemojiconfigoptions)
* [x] `cooldowns` | [Cooldowns](../utilities/cooldowns)

### Methods

* [ ] [connectToMongoDB](noclihandler/.connecttomongodb)
