Properties

Link copied to clipboard
open override val applicationId: Snowflake
Link copied to clipboard
Link copied to clipboard

Set of Permissions required to execute this command unless a server admin changed them.

Link copied to clipboard

whether the command is enabled by default when the app is added to a guild.

Link copied to clipboard
abstract val guildId: Snowflake
Link copied to clipboard
open override val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard
open val isNsfw: Boolean

Indicates whether the command is age-restricted.

Link copied to clipboard
open val name: String

The name of the command

Link copied to clipboard

A map containing all localizations of name.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val version: Snowflake

auto-incrementing version identifier updated during substantial record changes.

Functions

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

Compares entities on id.

Link copied to clipboard
abstract suspend fun delete()

Requests to delete this command.