ISlashCommand class Null safety

Implemented types

Constructors

ISlashCommand()

Properties

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