ChatCommands
Instance of the ChatCommands feature.
Constructors
ChatCommands
Link copied to clipboard
Types
Companion
Link copied to clipboard
object Companion : EventDispatcherFeature<ChatCommands.Config, ChatCommands>
Content copied to clipboard
Adds the functionality to the DiscordClient to easily listen to and parse user commands. Must be configured with command prefix and commands.
Functions
registerCommand
Link copied to clipboard
registerCommands
Link copied to clipboard
fun registerCommands(vararg commands: ChatCommand): Map<ChatCommand, Boolean>
Content copied to clipboard
Properties
commandMap
Link copied to clipboard
commandPrefixFor
Link copied to clipboard
commands
Link copied to clipboard
dispatcher
Link copied to clipboard
Sources
jvm source
Link copied to clipboard