Command Set Builder
data class CommandSetBuilder(val discord: Discord, val category: String, requiredPermissions: Permissions)
DSL used to build a set of commands.
Parameters
discord
The discord instance.
category
The category these commands will be under.
Properties
Functions
Link copied to clipboard
Create a dm text command.
Link copied to clipboard
fun globalSlash(name: String, description: String = "", requiredPermissions: Permissions = this.requiredPermissions, action: GlobalSlashCommand.() -> Unit)
Create a global slash command.
Link copied to clipboard
Create a global text command.
Link copied to clipboard
Create a guild text command.