Skip to content

MultiMC/background-cat

This branch is 156 commits ahead of Scotsguy/background-cat:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ca280a · Dec 22, 2024
Dec 22, 2024
Dec 22, 2024
Nov 19, 2022
May 21, 2022
Dec 22, 2024
May 21, 2022
May 21, 2022
Jul 17, 2019
Nov 19, 2022
May 21, 2022

Repository files navigation

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 and paste.ee tokens in it, like this:
    # See https://docs.rs/env_logger
    RUST_LOG=error
    
    DISCORD_TOKEN=AAa0AAa0AAAaAaa...
    PASTE_EE_TOKEN=aaAAaAa0AaAA0...
    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 and paste.ee tokens in it, like this:

    # See https://docs.rs/env_logger
    RUST_LOG=error
    
    DISCORD_TOKEN=AAa0AAa0AAAaAaa...
    PASTE_EE_TOKEN=aaAAaAa0AaAA0...
    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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.1%
  • Dockerfile 0.9%