KarlOfDuty / MuteBoi

Keeps bad bois muted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MuteBoi Build Status Release Discord Server

Retains specific Discord roles if users leave the server. Useful for muted roles or other permission negating roles. Leaving members are saved in a mysql database with all tracked roles they had when they left.

Setup

  1. Create a new bot application.

  2. Download the bot executable for your operating system, either a release version or a dev build. The bot should include dotnet but if your bot doesnt work and this seems to be the issue please tell me.

  3. Run the bot executable once to generate the config.

  4. Set up the config (config.yml) to your specifications, there are instructions inside and also further down on this page. If you need more help either contact me in Discord or through an issue here.

Config:

bot:
    # Bot token.
    token: "<add-token-here>"
    # Decides what messages are shown in console, possible values are: Critical, Error, Warning, Info, Debug.
    console-log-level: "Info"
    # A list of role ids that should be tracked
    tracked-roles:
      - 111111111111111111
      - 222222222222222222
      - 333333333333333333

database:
    # Address and port of the mysql server
    address: "127.0.0.1"
    port: 3306
    # Name of the database to use
    name: "muteboi"
    # Username and password for authentication
    user: ""
    password: ""

About

Keeps bad bois muted

License:GNU General Public License v3.0


Languages

Language:C# 100.0%