Categorygithub.com/ezzer17/marsbot
repositorypackage
0.0.0-20240717215343-f271bec8c2f7
Repository: https://github.com/ezzer17/marsbot.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

What is this?

Simple bot for monitoring turns in terraforming mars

Building

go build

How to use it?

Build from source. Edit config file.

Run it:

./marsbot -config config.yaml

To start monitoring a new game, use command:

/subscribe https://rebalanced-mars.herokuapp.com/player?id=pe4369075767e

To list subscriptions, use command:

/subscriptions

To unsubscribe, use command:

/unsubscribe pe4369075767e

Configuration

token: <token> # telegram bot token
database: ./db.sqlite # database file
allowed_domains: # list of allowed mars game domains
  - rebalanced-mars.herokuapp.com