Data about a context in which a command was executed.
You might also be interested in:
- CommandContext, which exposes the functionality for interacting with this context.
- ContextData, the base class for all contexts.
- Implemented types
- Implementers
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
-
command
→ Command<
CommandContext> -
The command that was executed or is being processed.
no setter
- 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
- 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