Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 1.74 KB

README.md

File metadata and controls

65 lines (52 loc) · 1.74 KB

Roler

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

Commands

Syntax:

How to install

  1. install required packages
pip install -r requirements.txt
  1. edit config.json with youre informations
{
    "token": "TOKEN HERE",

    "prefix": "!",
    "enable-prefix-commands": false/true
}
  1. 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
    }
}
  
  1. now you can start the bot with
python main.py

Info

i made this bot on behalf of a discord project

This project is pretty new, its more like a pre alpha but its working.