Skip to content

nicoschmdt/karmagrambot

 
 

Repository files navigation

Karmagrambot

Telegram bot that logs messages (not the contents, for the sake of privacy) and votes.

Installing

You can either use an application such as pipx (recommended) or just pip:

~ $ pipx install git+https://github.com/caravelahc/karmagrambot

Running

  1. You must create a Telegram bot with the Botfather in order to get a token.
  2. Create a configuration file as explained below, containing at least the token.
  3. Run karmagrambot.

Configuration

The configuration file is located, by default, at $XDG_CONFIG_HOME/karmagrambot/config.json, but if that variable is not set, it falls back to ~/.config/karmagrambot/config.json.

The expected keys are token (required) and db-path (optional).

The database is located, by default, at $XDG_DATA_HOME/karmagrambot/messages.db, but if that variable is not set, it falls back to ~/.local/share/karmagrambot/messages.db.

About

Telegram bot that logs messages (not the contents, for the sake of privacy) and votes.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%