ManagersDefaultOptions
CommandsManagerDefaultOptions
Name | Type | Description |
---|---|---|
adminOnly | Boolean | If only the bot admins can use the command |
category | String | The category of the command |
channel | "GUILD" or "DM" | The channel where the command can be executed |
clientPermissions | Array<String> or String | The permissions of the client |
cooldown | Number | The cooldown of the command |
description | String | The description of the command |
examples | Array<String> or String | The examples of command |
type | "MESSAGE_COMMAND" or "SLASH_COMMAND" or "CONTEXT_MENU_USER" or "CONTEXT_MENU_MESSAGE" | The type of the command |
usage | String | The usage of the command |
userPermissions | Array<String> or String | The permissions required for users |
EventsManagerDefaultOptions
Name | Type | Description |
---|---|---|
emitter | EventEmitter | The emitter of the event |
once | Boolean | If the event will emitted just once |
InhibitorsManagerDefaultOptions
Name | Type | Description |
---|---|---|
priority | Number | The priority of the inhibitor |
type | Array<"COMMAND_MESSAGE" or "APPLICATION_COMMAND" or "BUTTON" or "SELECT_MENU" or "ALL"> | If the framework will load all |