Data about a context which was created by an interaction.
You might also be interested in:
- InteractionCommandContextData, data about a context in which a command was executed from an interaction;
- ContextData, the base class for all contexts.
Constructors
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 → Interaction
-
The interaction that triggered this context's creation.
no setter
- 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