TacoGS / background-cat

A discord bot that parses MultiMC logs for common issues.

Home Page:https://gitlab.com/Scotsguy/background-cat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background Cat

A Discord bot to parse MultiMC Logs and warn users about common errors

I made this bot because it was brought to my attention that other discords also had similar bots. Dissatisfied with the other ones, I made yet another one.

xkcd "Standards" comic

Development

  • Build the code: cargo build --bin discord-cat
  • Copy .env.example to target/debug/
  • Customize target/debug/.env and include your Discord token in it, like this:
    # See https://docs.rs/env_logger
    RUST_LOG=error
    
    DISCORD_TOKEN=AAa0AAa0AAAaAaa...
    BACKGROUND_CAT_PREFIX=-
    
  • Run the bot: cargo run -p discord-cat

Running in production

  • Copy .env.example to .env

  • Customize .env and include your Discord token in it, like this:

    # See https://docs.rs/env_logger
    RUST_LOG=error
    
    DISCORD_TOKEN=AAa0AAa0AAAaAaa...
    BACKGROUND_CAT_PREFIX=-
    
  • Build the images: docker-compose build

  • Start the service: docker-compose start

About

A discord bot that parses MultiMC logs for common issues.

https://gitlab.com/Scotsguy/background-cat

License:GNU Affero General Public License v3.0


Languages

Language:Rust 98.9%Language:Dockerfile 1.1%