Skip to content

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.

Notifications You must be signed in to change notification settings

AIO-Develope/Roler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages