Skip to content
Interfacecorev0.12.0

RequirePermissionsOptions

Options for RequirePermissions.

interface RequirePermissionsOptions extends RequireBotPermissionsOptions

in

The set the check reads. 'channel' reads the effective channel set the payload carries, what Discord enforces in the invoked channel. 'guild' reads the base set from roles, available on the gateway transport only.

in?: 'channel' | 'guild'

Inherited from:RequireBotPermissionsOptions

Default:'channel'

unresolved

Your Notice class, constructed and thrown in place of the refusal when the member's permissions are unavailable inside a guild.

unresolved?: NoticeConstructor