ISlashCommand class abstract

Constructors

ISlashCommand()

Properties

applicationId → Snowflake
Unique id of the parent application
no setter
createdAt DateTime
Gets creation timestamp included in Snowflake
no setterinherited
defaultPermissions bool
Whether the command is enabled by default when the app is added to a guild
no setter
description String
Command description shown to the user in the Slash Command UI
no setter
guild → Cacheable<Snowflake, IGuild>?
Guild id of the command, if not global
no setter
hashCode int
The hash code for this object.
no setterinherited
id → Snowflake
ID of entity as Snowflake
finalinherited
name String
Command name to be shown to the user in the Slash Command UI
no setter
options List<ICommandOption>
The arguments that the command takes
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type SlashCommandType
The type of command
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