user
fun user( displayText: String, slashName: String, description: String, requiredPermissions: Permissions = this.requiredPermissions, action: suspend ContextEvent<User>.() -> Unit)
Content copied to clipboard
Create a message context command.
Parameters
display Text
The text to display in the context menu.
slash Name
The name to register as a slash command.
description
The description for the slash command.
required Permissions
The Permissions required to run this command.
action
The command action.