$createContextMenuApplication

Creates a new context menu.

Usage

$createContextMenuApplication[guildID | global;applicationCommandDataName;returnApplicationID]

This function has three params.

ParamDescriptionTypeRequired

guildID | global

Specify global if the context menu application will be global, or pass a guild ID to add the command to that guild.

Snowflake | String

Yes

applicationCommandDataName

The name of the context menu application data to create.

String

Yes

returnApplicationID

Whether to return the context menu application ID once created.

Boolean

No

See the Context Menu article for more information.

Last updated