RawApplicationCommandData

Type: Object<string, any>

Properties

PARAMETER
TYPE
DESCRIPTION

id

Snowflake

The command id

type

number

The command type

application_id

Snowflake

The command application id

guild_id

Snowflake

The command guild id

name

string

The command name

name_localizations

{ [locale: string]: string }

The command name localizations

description

string

The command description

description_localizations

{ [locale: string]: string }

The command description localizations

options

RawApplicationCommandOptionData[]

The command options

default_member_permissions

string

The command permissions

dm_permission

boolean

The command global

version

string

The api version

See also: https://discord.com/developers/docs/interactions/application-commands#application-command-object

Last updated