global Slash
fun globalSlash( name: String, description: String = "", requiredPermissions: Permissions = this.requiredPermissions, action: GlobalSlashCommand.() -> Unit)
Content copied to clipboard
Create a global slash command.
Parameters
name
The name of this command.
description
The description of this command.
required Permissions
The Permissions required to run this command.
action
The command action.