IInteraction class abstract

Implementers

Constructors

IInteraction()

Properties

channel → Cacheable<Snowflake, ITextChannel>
The channel the command was sent in.
no setter
client → INyxx
Reference to bot instance.
no setter
createdAt DateTime
Gets creation timestamp included in Snowflake
no setterinherited
guild → Cacheable<Snowflake, IGuild>?
The guild the command was sent in.
no setter
guildLocale String?
The preferred locale of the guild this interaction was created in, if any.
no setter
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 setter
memberAuthor → IMember?
The member who sent the interaction
no setter
memberAuthorPermissions → IPermissions?
Permission of member who sent the interaction. Will be set if memberAuthor is not null
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
Token to send requests
no setter
type int
The type of the interaction received.
no setter
userAuthor → IUser?
The user who sent the interaction.
no setter
version int
Version of interactions api
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 ==(dynamic other) bool
The equality operator.
inherited