Skip to content

zoobestik/borken_bot

Repository files navigation

Broken Telegram Bot

Build Status Docker Image Telegram

A simple telegram bots wrote in Java. More in CHANGELOG

Usage

Step 1: Installing from command line[1]:

curl https://raw.githubusercontent.com/zoobestik/borken_bot/master/docker-compose.yml > docker-compose.yml
echo "TELEGRAM_BOT_NAME=<...name...>" >> .env
echo "TELEGRAM_BOT_TOKEN=<...token...>" >> .env

[1]: Placeholder should be replaced by:

  • <...name...> – registered bot name;
  • <...token...> – token to access for HTTP API;

More information in Telegram Bot Api page.

Step 2: Start a bot server instance:

docker-compose up

Development

  1. Install jdk8 or more and Maven.
  2. Install Jetbrains IDEA CE and create new project.
  3. Register new bot for debugging.
  4. Configure "Run configuration"

Acknowledgements

Develop By MIT license