GuildUserCommandContext
class GuildUserCommandContext(event: UserInteractionEvent, scope: CoroutineScope) : UserCommandContext, GuildCommandContext
Content copied to clipboard
The context for an interaction with an ApplicationCommand that occurred in a server.
Constructors
GuildUserCommandContext
Link copied to clipboard
fun GuildUserCommandContext(event: UserInteractionEvent, scope: CoroutineScope)
Content copied to clipboard
Functions
getChannel
Link copied to clipboard
The channel that this command was used in.
getTargetUser
Link copied to clipboard
open suspend override fun getTargetUser(retrievalStrategy: EntityRetrievalStrategy): Member
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