Add interaction command handlers to the middleware chain
Functionally equivalent to interactionCommand
A command specifier, or array of command specifiers
Handlers for this interaction command
Apply the router stack AKA middleware chain to the trigger. Normally, you shouldn't have to use this.
Add command handlers to the middleware chain
A command specifier, or array of command specifiers
Handlers for this command
Handle any errors that may arise from the middleware chain
Middleware handlers
Handle errors in routes
that may arise from the middleware chain
A command specifier, or array of command specifiers
Middleware handlers
Initialize the express portion of the client by adding event listeners to the
messageCreate
and interactionCreate
events
Add interaction command handlers to the middleware chain
A command specifier, or array of command specifiers
Handlers for this interaction command
Add message command handlers to the middleware chain
A command specifier, or array of command specifiers
Handlers for this message command
Register Application Commands (slash commands). You can use the SlashCommandBuilder class if you prefer, or the implementation shipped with this library
Commands to register
App client ID
Use middleware universally
Middleware handlers
Use middleware for a specific route or command
A command specifier, or array of command specifiers
Middleware handlers
Generated using TypeDoc
An extension of the default Discord.js
Client
class that includes methods for the middleware-like command system