Skip to content

HasApplicationCommandPermissionsOptions

typedef · Source

Options used to check the existence of permissions on a command The command parameter is not optional when the managers commandId is nullType: BaseApplicationCommandPermissionsOptions

Properties

permissionId

permissionId: UserResolvable | RoleResolvable

The user or role to check if a permission exists for on this command.

Unofficial software. Not affiliated with or supported by Discord.