GithubHelp home page GithubHelp logo

benms / mono_personal_tgbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vkopitsa/mono_personal_tgbot

0.0 0.0 0.0 328 KB

The telegram bot for the Monobank

License: MIT License

Dockerfile 0.76% Go 96.91% Makefile 2.33%

mono_personal_tgbot's Introduction

Monobank personal telegram bot

GitHub release Download license

A simple telegram bot, written in Go with the telegram-bot-api library.

Report

mono_personal_tgbot

WebHook

mono_personal_tgbot

Balance

mono_personal_tgbot

Usage

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

Telegram commands

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

Usage with docker-compose

Rename .env.dev file to .env and edit.

# docker-compose up -d

Download

v0.4 release, Linux

v0.4 release, MacOS

v0.4 release, Windows

Compatibility

The bot is only available for Windows, Linux, MacOS.

Licence

The bot is available under the MIT license. See the LICENSE file for more info.

mono_personal_tgbot's People

Contributors

vkopitsa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.