The Discord.js client instance.
An object mapping command types to their respective directory names.
Each command type should be mapped to a directory name containing the files and logic for handling that command type.
The paths specified here should be relative to current working directory (process.cwd()
)
If any of the command types are not provided, the corresponding type of command will not be handled by the handler.
Optional
ButtonThe directory name for ButtonCommand type commands.
Optional
ChatThe directory name for ChatInputCommand type commands.
Optional
MessageThe directory name for MessageCommand type commands.
Optional
SelectThe directory name for SelectMenuCommand type commands.
Optional
logOptional
prefixThe prefix or array of prefixes for the MessageCommand type commands.
This can also be a function that returns the prefix(es) based on the message.
This property is required if the MessageCommands
property is present.
Generated using TypeDoc
Options for configuring a command handler.