Skip to content
Interfacegatewayv0.9.0

HasPermsToAssignOptions

Options for hasPermsToAssign.

interface HasPermsToAssignOptions

higher

Your Notice class, constructed with both roles and thrown in place of the refusal when the role is at or above the bot's.

higher?: NoticeConstructor<[role: Role, botRole: Role]>

managed

Your Notice class, constructed with the role and thrown in place of the refusal when an integration manages the role.

managed?: NoticeConstructor<[role: Role]>

missing

Your Notice class, thrown when the bot lacks Manage Roles. seedcord constructs it with the bot's mention and that permission's name.

role

The role the bot would assign.

role: Role;