Skip to content
On this page

ManagersDefaultOptions

CommandsManagerDefaultOptions

NameTypeDescription
adminOnlyBooleanIf only the bot admins can use the command
categoryStringThe category of the command
channel"GUILD" or "DM"The channel where the command can be executed
clientPermissionsArray<String> or StringThe permissions of the client
cooldownNumberThe cooldown of the command
descriptionStringThe description of the command
examplesArray<String> or StringThe examples of command
type"MESSAGE_COMMAND" or "SLASH_COMMAND" or "CONTEXT_MENU_USER" or "CONTEXT_MENU_MESSAGE"The type of the command
usageStringThe usage of the command
userPermissionsArray<String> or StringThe permissions required for users

EventsManagerDefaultOptions

NameTypeDescription
emitterEventEmitterThe emitter of the event
onceBooleanIf the event will emitted just once

InhibitorsManagerDefaultOptions

NameTypeDescription
priorityNumberThe priority of the inhibitor
typeArray<"COMMAND_MESSAGE" or "APPLICATION_COMMAND" or "BUTTON" or "SELECT_MENU" or "ALL">If the framework will load all