This is a Discord bot that gives back roles to members who leave and join so that they don't have to go through a manual verification process again.
- While online, actively record member name and roles.
-
/restore_rolescommand. - Command to review member information from the database.
- Command for administrators to remove a record.
- Encode binary roles in the db instead of leaving raw data.
- Command to temporarily disable recording.
- Separate functions to separate files for better readability.
- Create directories/folders when they don't exist.
- MAKE IT SAY SOMETHING WHEN THE USER HAS NO ROLES.
Linux:
gh repo clone snaillyy/Discord-botcd Discord-botpython -m venv .(use python3 if "command not found" occurs)source bin/activatemkdir datapip install -r requirements.txtchmod +x run.sh./run.sh
The small script will store all the logs in data/
- python3
- sqlite3
- python libraries in requirements.txt
Zen on github for helping me plan this out,
The developers and contributors of the python libraries in requirements.txt,
and Pycord.
I am still learning how everything works, please bare with me on that.