GlobalMessageCommandContext
class GlobalMessageCommandContext(event: MessageInteractionEvent, scope: CoroutineScope) : MessageCommandContext, GlobalCommandContext
Content copied to clipboard
The context for an interaction with an ApplicationCommand that could have been used in a DM.
Constructors
GlobalMessageCommandContext
Link copied to clipboard
fun GlobalMessageCommandContext(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