/evediscordkm

Take two at a script to mirror a filtered zKillboard stream to Discord

Primary LanguageGoMIT LicenseMIT

Description

This is a project inspired by evediscordkm. It filters killmail reports generated by redisq.zkillboard.com and delivers them to discord

Configuration file

zkillboard:
  replay_from: tmp/debug #optional replays saved kill reports from the disk

channels:
  - type: debug
    constraints:
      alliances:
        - The Eclipse.
        - Goonswarm Federation
      characters:
        - Audrey Horn
      systems:
        - D-W7F0
        - KLY-C0
      minimum_cost: 10001
      type: win
  - type: record
    config:
      path: tmp/debug
  - type: discord
    config:
      webhook: https://...
    constraints:
      alliances:
        - The Eclipse.
      corporations:
        - "New Eden's Best."
      systems:
        - NU4-2G
      type: win

Running

go get github.com/vvlad/evediscordkm
go build -o evekm github.com/vvlad/evediscordkm/cmd
./evekm -config config.yaml