The base class for all contexts in nyxx_commands.
Contains data that all contexts provide.
You might also be interested in:
- CommandContextData, which contains data about contexts which execute a command.
Constructors
Properties
- channel → TextChannel
-
The channel in which the context was created.
no setter
- client → NyxxGateway
-
The client that emitted the event triggering this context's creation.
no setter
- commands → CommandsPlugin
-
The instance of CommandsPlugin which created this context.
no setter
- guild → Guild?
-
The guild in which the context was created, or
null
if created outside of a guild.no setter - 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 setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → User
-
The user that triggered this context's creation.
no setter
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