$setApplicationCommandPermissions
$setApplicationCommandPermissions
will set the permissions of a specific application command.
Usage
$setApplicationCommandPermissions[guildID/global;ID;...perms]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID/global | number, string | Application command type. 1. global 2. specific guildID | true |
ID | number | Application command ID. | true |
…perms | string | Permissions to change. | true |