$createContextMenuApplication
Creates a new context menu.
Usage
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 |
See the Context Menu article for more information.
Last updated