Functionseedcordv0.10.6
Throws:
A RoleHigherThanMe When the target role is higher than the bot role
A CannotAssignBotRole When the target role is managed
A MissingPermissions When the bot lacks Manage Roles permission
hasPermsToAssign(
roleOrOptions: Role | HasPermsToAssignOptions
): voidhasPermsToAssign(
roleOrOptions: Role | HasPermsToAssignOptions
): voidroleOrOptions
roleOrOptions: Role | HasPermsToAssignOptionsroleOrOptions: Role | HasPermsToAssignOptionsTarget role or complete options for the check