Command

dc_command

Represents a command.

Queryable properties #

Property Type Description
id String The ID of the command.
name String The name of the command.
description String The description of the command.
type String The type of the command
server Server, Null The server this application command is in.
Returns null if it's a global application command.
options List of Strings The names of the slash command options.1

Command types#

String Description
slash A slash command
user A user context menu command
message A message context menu command

  1. Didn't bother adding a slash command option value since nobody is gonna use it anyway.
    If you need it, make an issue or let me know on Discord, and I'll add it.