user

fun user(    displayText: String,     slashName: String,     description: String,     requiredPermissions: Permissions = this.requiredPermissions,     action: suspend ContextEvent<User>.() -> Unit)

Create a message context command.

Parameters

displayText

The text to display in the context menu.

slashName

The name to register as a slash command.

description

The description for the slash command.

requiredPermissions

The Permissions required to run this command.

action

The command action.