Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mmqnym/discord-update-role-script

Allows you to quickly add or delete roles to members in your server.
https://github.com/mmqnym/discord-update-role-script

discord python

Last synced: about 5 hours ago
JSON representation

Allows you to quickly add or delete roles to members in your server.

Awesome Lists containing this project

README

        

# Discord role update script

## Set up
- You have to go [here](https://discord.com/developers/applications) first to get the `token` of the bot, and select `SERVER MEMBERS INTENT` in `Privileged Gateway Intents` and `bot`, `applications.commands` two `SCOPES`, also `Manage Roles` `PERMISSIONS`.
- Fill in your settings in `configs.json`, including the role ids you want to add and delete.
- Run script!

``` sh
cd
pip install -r requirements.txt
python app.py
```

## Commands

- /update roles

> This command can update role(s) of the server members.

- /reload lists

> This command reloads the lists of role(s) to update.

## LICENSE
[MIT](LICENSE)