InteractionCommandContextData class abstract interface

Data about a context in which a command was executed from an interaction.

You might also be interested in:

Implemented types
Implementers

Constructors

InteractionCommandContextData()

Properties

channel TextChannel
The channel in which the context was created.
no setterinherited
client NyxxGateway
The client that emitted the event triggering this context's creation.
no setterinherited
commands CommandsPlugin
The instance of CommandsPlugin which created this context.
no setterinherited
guild Guild?
The guild in which the context was created, or null if created outside of a guild.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
interaction ApplicationCommandInteraction
The interaction that triggered this context's creation.
no setteroverride
member Member?
The member that triggered this context's created, or null if created outside of a guild.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user User
The user that triggered this context's creation.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited