https://github.com/ofen/your-coffin
Telegram bot for personal needs.
https://github.com/ofen/your-coffin
bot telegram
Last synced: about 1 year ago
JSON representation
Telegram bot for personal needs.
- Host: GitHub
- URL: https://github.com/ofen/your-coffin
- Owner: ofen
- License: apache-2.0
- Created: 2020-08-29T23:04:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T18:22:06.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T07:42:16.949Z (over 1 year ago)
- Topics: bot, telegram
- Language: Go
- Homepage:
- Size: 2.66 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Telegram bot for personal needs.
## Required environment variables
- ALLOWED_USERS - list of allowed users in json format (example: `[{"id": 123456789}]`)
- BOT_TOKEN - token from [@BotFather](https://t.me/BotFather)
- GOOGLE_CREDENTIALS - api credentials in json format (see https://console.cloud.google.com/apis/credentials)
- GOOGLE_SPREADSHEET - spreadsheet id
## Supported commands
- status - check bot status
- currency - chech current exchange rate
- meters - set electricity/water meters
- lastmeters - show last electricity/water meters
- whoami - show info about requesting user
## Build
```sh
go build .
```