A simple telegram bot, written in Go with the telegram-bot-api library.
Run mono_personal_tgbot
execution file in your terminal with following env variables
Environment variable | Description |
---|---|
TELEGRAM_TOKEN |
How to get telegram bot token |
TELEGRAM_ADMINS |
ids of the trusted user, example: 1234567,1234567 |
TELEGRAM_CHATS |
ids of the trusted chats, example: -1234567,-1234567 |
MONO_TOKENS |
list of the tokens and it is number . How to get monobank token |
Command | Description |
---|---|
/balance[_n] |
Get UAH balance of the default client or first one or by number. example: /balance , /balance_1 |
/report |
Get a report for the period of the default client or first one or by number. example: /report , /report_1 |
/get_webhook[_n] |
Get a status about setup webhook of the default client or first one or by number. example: /get_webhook , /get_webhook_1 |
/set_webhook[_n] |
Set webhook url to monobank api of the default client or first one or by number. example: /set_webhook , /set_webhook_1 |
Rename .env.dev
file to .env
and edit.
# docker-compose up -d
The bot is only available for Windows, Linux, MacOS.
The bot is available under the MIT license. See the LICENSE file for more info.