Bhavya Jain
Bhavya Jain

Reputation: 1

Discord.js integration role to bot

Hi everyone i am trying to code my own bot but i don't know to set these auto intergrated roles like this one,can someone explain me how they did this.enter image description here

Upvotes: 0

Views: 451

Answers (2)

Jeffplays2005
Jeffplays2005

Reputation: 320

Bots automatically create their own role with customised permissions(in the invite), the role cannot be added to other users.

Upvotes: 1

Toasty
Toasty

Reputation: 1880

When I add a bot to my server, a role is automatically created that is named like the bot.

I don't know if the message in the screenshot is exactly from this, but I can't add members to this bot role or edit it, only the bot has it and can have it.

Upvotes: 0

Related Questions