Adding a role to owner of a server.

Hello, I've searched the Internet for this answer but did not find it, so here I am. I wanted to know if it was now possible to add a role through a bot to the owner of a server. To clarify, I want my bot to send a message with 2 buttons (Present/Absent) to a specific channel to manage events. I want my bot to add a role according to the button clicked. This whole part is done, but I came to a question : what of the owner ? Is there a way to do that or is it hopeless to search ? Thank you for your time (: Az'
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
조아오
조아오2y ago
You can add any role bellow your bot highest role to anyone You bot need to have the ManageRoles permission
d.js docs
d.js docs2y ago
• Bots cannot moderate (kick/ban/nickname/...) a target with a higher or equally high highest role or the guild owner. • Bots cannot modify (edit/add/remove) roles that are higher or equally high compared to the bot's highest role. • The Administrator permission does not skip these checks.
Aznoob
Aznoob2y ago
Thank you, I gave it a go, it works, I don't know why I thought about it, nvm (:
Want results from more Discord servers?
Add your server
More Posts