GuildMessageCommandContext
class GuildMessageCommandContext(event: MessageInteractionEvent, scope: CoroutineScope) : MessageCommandContext, GuildCommandContext
Content copied to clipboard
The context for an interaction with an ApplicationCommand that occurred in a server.
Constructors
GuildMessageCommandContext
Link copied to clipboard
fun GuildMessageCommandContext(event: MessageInteractionEvent, scope: CoroutineScope)
Content copied to clipboard
Functions
getChannel
Link copied to clipboard
The channel that this command was used in.
getTargetMessage
Link copied to clipboard
suspend fun getTargetMessage(retrievalStrategy: EntityRetrievalStrategy): Message
Content copied to clipboard
Properties
client
Link copied to clipboard
coroutineContext
Link copied to clipboard
event
Link copied to clipboard
interaction
Link copied to clipboard
interactionResponse
Link copied to clipboard
Sources
jvm source
Link copied to clipboard