GlobalUserCommandBehavior

Functions

compareTo
Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

delete
Link copied to clipboard
abstract suspend fun delete()

Requests to delete this command.

edit
Link copied to clipboard
open suspend override fun edit(builder: suspend UserCommandModifyBuilder.() -> Unit): GlobalUserCommand
editPermissions
Link copied to clipboard
open suspend fun editPermissions(guildId: Snowflake, builder: ApplicationCommandPermissionsModifyBuilder.() -> Unit)

Updates the permissions for this command on the guild corresponding to guildId.

Properties

applicationId
Link copied to clipboard
abstract val applicationId: Snowflake
id
Link copied to clipboard
abstract val id: Snowflake

The unique identifier of this entity.

service
Link copied to clipboard
abstract val service: InteractionService

Inheritors

GlobalUserCommand
Link copied to clipboard

Sources

jvm source
Link copied to clipboard