GuildCommandContext

interface GuildCommandContext

Functions

getChannel
Link copied to clipboard
abstract suspend fun getChannel(): GuildMessageChannel

The channel that this command was used in.

getGuild
Link copied to clipboard
abstract suspend fun getGuild(): Guild

The server that this command was used in.

Properties

guildId
Link copied to clipboard
abstract val guildId: Snowflake

The ID of the server that this command was used in.

member
Link copied to clipboard
abstract val member: Member

The user as a Member that invoked this command.

Inheritors

GuildMessageCommandContext
Link copied to clipboard
GuildSlashCommandContext
Link copied to clipboard
GuildUserCommandContext
Link copied to clipboard

Sources

jvm source
Link copied to clipboard