A
A
Alexander2020-06-04 10:56:31
JavaScript
Alexander, 2020-06-04 10:56:31

Role ban?

Please, I want to get an answer from experienced users.
I understand that you can restrict the issuance of a role to a group through hasPermission

But how to make it so that a person would have access to the issuance of roles, but he could not issue certain roles. Whatever the bot would not allow him to do, and the bot reported this in the chat "user.username is trying to give out the role name role - author2"

I cannot raise roles that cannot be given out above his role.
Please help
Discord JS v12

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-06-04
@knight0

GIVE_MODERATOR_ROLE - And if there are 2 attempts from a person, he removes all roles

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question