Skip to content

Discord Bot which gives or removes role (one or more) from multiple users.

License

Notifications You must be signed in to change notification settings

exa18/discordbot_giverole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISCORD BOT

GiveRole

Bot give or remove role from multiple users


Local preparations (Linux/Debian/Ubuntu)

sudo apt install -y python3-pip

Install modules (second should be allready installed):

pip install --upgrade pip
pip install discord.py python-dotenv asyncio

Install App settings DEV

You must be developer, then add new application and copy TOKEN to .env.

  1. OAuth2 -> URL Generator, check BOT and Manage Roles. Then copy URL and run it.
  2. Bot -> Create New
  3. Bot -> Privileged Gateway Intents, check Presence Intent, Server Members Intent and Message Content Intent.
  4. Copy TOKEN
  5. Deploy. Can use service like Replit to host script.

Create invite/install BOT link

App/OAuth2 -> URL Generator -> check BOT -> Permissions: Manage Roles, Send Messages.

Use on DC

After add bot thru OAuth2 URL, enter server roles and move up and down to choose which roles bot can give or remove. All roles below bot's role are manageable for bot. Now you can add bot's role to channel of choice.

About

Discord Bot which gives or removes role (one or more) from multiple users.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages