IContextBase class Null safety
The base class for all contexts in nyxx_commands.
Contains data that all contexts provide.
- Implementers
Constructors
Properties
- channel → ITextChannel
-
The channel in which the context was created.
read-only
- client → INyxx
-
The client that emitted the event triggering this context's creation.
read-only
-
command
→ ICommand<
IContext> -
The command that was executed or is being processed.
read-only
- commands → CommandsPlugin
-
The instance of CommandsPlugin which created this context.
read-only
- guild → IGuild?
-
The guild in which the context was created, or
null
if created outside of a guild.read-only - hashCode → int
-
The hash code for this object.
read-only, inherited
- member → IMember?
-
The member that triggered this context's created, or
null
if created outside of a guild.read-only - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- user → IUser
-
The user that triggered this context's creation.
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited