Go to file
2022-06-20 20:31:08 +06:00
.github/workflows Initial commit 2022-06-17 21:54:20 +06:00
gradle introduction plugin 2022-06-17 22:24:44 +06:00
introduction add docs in introduction plugin 2022-06-18 19:51:31 +06:00
_config.yml Initial commit 2022-06-17 21:54:20 +06:00
.gitattributes Initial commit 2022-06-17 21:54:20 +06:00
.gitignore Initial commit 2022-06-17 21:54:20 +06:00
build.gradle introduction plugin 2022-06-17 22:24:44 +06:00
config.json introduction plugin 2022-06-17 22:24:44 +06:00
gradle.properties Initial commit 2022-06-17 21:54:20 +06:00
gradlew Initial commit 2022-06-17 21:54:20 +06:00
gradlew.bat Initial commit 2022-06-17 21:54:20 +06:00
LICENSE Initial commit 2022-06-17 21:54:20 +06:00
README.md prechange of readme 2022-06-20 20:31:08 +06:00
settings.gradle update name of project 2022-06-18 19:19:04 +06:00

Telegram Bot Tutorial

This tutorial aimed to show how you may break your bot parts into different modules and run it easily change the

How to launch

First, you need to change bot token inside of config.json. The other parts should be described in the readmes of the modules with these parts.

There are two main ways to launch it:

  • Run ./gradlew build && ./gradlew run --args="PATH_TO_YOUR_CONFIG" with replacing of PATH_TO_YOUR_CONFIG
  • Run ./gradlew build and get zip of bot and unarchive it somewhere you need. In this archive there is an executable files bot.bat (for windows) and bot (for linux) by the path inside of archive /bot/bin. After unarchiving you can just launch executable file with one argument: path to the config