GuildApplicationCommand

Functions

execute
Link copied to clipboard
abstract suspend fun C.execute()

Called when this command is used in an interaction

Properties

guildId
Link copied to clipboard
abstract val guildId: Snowflake

The Snowflake id of the guild that this command is available in.

request
Link copied to clipboard
abstract val request: ApplicationCommandRequest

The discord-json request body to be sent to the Discord API

Inheritors

GuildMessageCommand
Link copied to clipboard
GuildSlashCommand
Link copied to clipboard
GuildUserCommand
Link copied to clipboard

Sources

jvm source
Link copied to clipboard