Heimdall is a Discord Bot that can be used to manage the roles of the users based on an invite link to a server. It generates an invite link by its own, and can assign a role to the invite link. That particular role is assigned to the member that joins using that invite link.
Create an application and a bot using the documentation. Make sure to enable the privileged intents through this link.
Administrator permissions are required for the bot, and make sure the bot is placed above every other roles you wish to give in the server.
- Install the requirements by running
pip install -r requirements.txt
- Run
python3 setup-bot.py
- Input the Bot Prefix and the Bot Token
- Choose the database you wish to use from JSON, MySQL, SQLite3, PostgreSQL, MongoDB
- Input the credentials for the database as and when required.
- Run
python3 run-bot.py
- Voila! Your bot is running!
- Run
python3 setup-bot.py
- Setup the bot as per the above steps 3-5
- Run
docker build -t heimdall .
to build the docker image - Run the docker container using
docker run --detached=true heimdall
- Continue the above steps from step 3.
- Generate Invite Links
- Connect Invite links with roles
- Detect member join and give role
- Multiple DB Capability - JSON, MySQL, PostgreSQL, MongoDB, SQLite3
- Auto setup DB with input credentials
To start contributing, check out CONTRIBUTING.md. New contributors are always welcome to support this project. Kindly consider leaving a ⭐ if you like the project :)
This project is under the MIT License.