Client
The main process that handles everything about the bot
clientOptions
The options for the client
Properties
client
Returns the client object of the bot, as returned by Discord.js
commands
Returns an object with information on loaded template commands
customCommands
Returns an object with information on loaded custom commands
intents
Returns the intents that the bot is using
token
Returns the token used to log the bot in
Methods
commandsCreate
The type Commands contain an Object of all the available template commands' commandsBuilder class.
commandBuilder
The object containing all the information about the command, derived from commandsBuilder class
custom
Function
The function is to run once the command is executed. This will override all the built-in actions to the template.
Returns: Object
onEventRun
event
String
The name of the command
callback
Function
The description of the command, used for slash command registration
publishCommand
operation
Number
Last updated