ISlashCommandInteraction class Null safety

Implemented types




channel Cacheable<Snowflake, ITextChannel>
The channel the command was sent in.
read-only, inherited
client INyxx
Reference to bot instance.
read-only, inherited
commandId Snowflake
Id of command
late, final
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
guild Cacheable<Snowflake, IGuild>?
The guild the command was sent in.
read-only, inherited
guildLocale String?
The preferred locale of the guild this interaction was created in, if any.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
locale String?
The selected language of the invoking user
read-only, inherited
memberAuthor IMember?
The member who sent the interaction
read-only, inherited
memberAuthorPermissions IPermissions?
Permission of member who sent the interaction. Will be set if memberAuthor is not null
read-only, inherited
name String
Name of interaction
options Iterable<IInteractionOption>
Args of the interaction
resolved IInteractionDataResolved?
Additional data for command
late, final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetId Snowflake?
Id of the target entity (only present in message or user interactions)
token String
Token to send requests
read-only, inherited
type int
The type of the interaction received.
read-only, inherited
userAuthor IUser?
The user who sent the interaction.
read-only, inherited
version int
Version of interactions api
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(dynamic other) bool
The equality operator. [...]