This is a Discord bot implemented using the Discord.py library. The bot is designed to manage roles within a Discord server through commands. The commands can only be executed by users with specific "chef" roles, which can be configured.
Its perfect for roleplay community servers and Team Management
Syntax:
- install required packages
pip install -r requirements.txt
- edit config.json with youre informations
{
"token": "TOKEN HERE",
"prefix": "!",
"enable-prefix-commands": false/true
}
- edit roles.json to youre prefered settings, here is an example:
{
"chef_roles": {
"chef1": the_id_of_chef1_role
"chef2": the_id_of_chef2_role
},
"roles": {
"role1": the_id_of_role1_role
"role2": the_id_of_role2_role
},
"assignable_roles": {
"chef1": ["role1"] // this means chef1 is able to give role1 trough this command
"chef2": ["role1", "role2"] // this means chef2 is able to give role1 and role2 trough this command
}
}
- now you can start the bot with
python main.py
i made this bot on behalf of a discord project
This project is pretty new, its more like a pre alpha but its working.