$createContextMenuApplication

Creates a new context menu.

Usage

$createContextMenuApplication[guildID | global;applicationCommandDataName;returnApplicationID]

This function has three params.

Param
Description
Type
Required

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

circle-info

See the Context Menu article for more information.

Last updated

Was this helpful?