ISlashCommandInteraction class abstract

Implemented types

Constructors

ISlashCommandInteraction()

Properties

channel → Cacheable<Snowflake, ITextChannel>
The channel the command was sent in.
no setterinherited
client → INyxx
Reference to bot instance.
no setterinherited
commandId ↔ Snowflake
Id of command
latefinal
createdAt DateTime
Gets creation timestamp included in Snowflake
no setterinherited
guild → Cacheable<Snowflake, IGuild>?
The guild the command was sent in.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id → Snowflake
ID of entity as Snowflake
finalinherited
locale String?
The selected language of the invoking user
no setterinherited
memberAuthor → IMember?
The member who sent the interaction
no setterinherited
memberAuthorPermissions → IPermissions?
Permission of member who sent the interaction. Will be set if memberAuthor is not null
no setterinherited
name String
Name of interaction
no setter
options Iterable<IInteractionOption>
Args of the interaction
no setter
resolved IInteractionDataResolved?
Additional data for command
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetId → Snowflake?
Id of the target entity (only present in message or user interactions)
no setter
token String
Token to send requests
no setterinherited
type int
The type of the interaction received.
no setterinherited
userAuthor → IUser?
The user who sent the interaction.
no setterinherited
version int
Version of interactions api
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 ==(dynamic other) bool
The equality operator.
inherited