SetApplicationCommandPermissionsOptions
typedef · Source
Options used to set permissions for one or more Application Commands in a guild One of command AND permissions, OR fullPermissions is required. fullPermissions is not a valid option when passing to a manager where commandId is non-null Type: BaseApplicationCommandPermissionsOptions
Properties
permissions
optional
permissions: Array<ApplicationCommandPermissionData>
The new permissions for the command
fullPermissions
optional
fullPermissions: Array<GuildApplicationCommandPermissionData>
The new permissions for all commands in a guild When this parameter is set, permissions and command are ignored