@cordjs/bot
The main package for Cord.js.
Classes
| Name | Description |
|---|---|
| Context | Information about a middleware call, passed in as first argument to a middleware handler |
| CordBot | The main class for any Cord.js bot |
Functions
| Name | Description |
|---|---|
| Cord | Creates a Cord.js bot |
| CordPlugin | Creates a plugin |
Interfaces
| Name | Description |
|---|---|
| ICordPlugin | A plugin |
| ICordPluginHelpers | Helpers for CordPlugin |
| ICordPluginOptions | Options for the CordPlugin function |
| IMiddlewareOptions | Middleware options |
Variables
| Name | Description |
|---|---|
| ClientOptions | Plugin that changes the ClientOptions of the Client |
Type Aliases
| Name | Description |
|---|---|
| CordBotWithPlugins | CordBot with plugins |
| Middleware | A middleware |
| MiddlewareCallback | A middleware callback |
| MiddlewareGroup | A group of middleware |
| MiddlewareObject | A middleware object |
| NextFn | The |