Automates the process of mass assigning roles.
Python >=3.7.0
It's always a good idea to have a separate environment for each project. However, I'm feeling a bit lazy (again) so I'll show how to install packages globally
pip3 install -r requirements.txtAdd a .env file with the DISCORD_TOKEN=<your_token> line. In this example I am using a list.csv obtained from premint.
In the bot.py file change the ROLE_ID to the role you will be assigning. You can use \@rolename in the chat to obtain it.
Finally, run it with:
python3 bot.pyIf you are getting an error about missing certificates while connecting to the Discord host, run install_certificate.py to fix it.