$createContextMenuApplication
Creates a new context menu.
Last updated
Creates a new context menu.
Last updated
This function has three params.
Param | Description | Type | Required |
---|---|---|---|
See the Context Menu article for more information.
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