$addApplicationCommandPermissions
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID/global | string, number | Application command type. 1. global 2. specific guildID | true |
id | number | Application command ID. | true |
…perms | string | Permissions. | true |
Example(s)
This will disable the slash command for everyone in the guild ( make sure to replace “ID” with the actual slash command ID ):