mirror of
https://github.com/InsanusMokrassar/TelegramBotTutorial.git
synced 2025-10-19 05:30:11 +00:00
2af832e70c3cb2c46ddc777cd03b3b1d21822667
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 ofPATH_TO_YOUR_CONFIG
- Run
./gradlew build
and get zip of bot and unarchive it somewhere you need. In this archive there is an executable filesbot.bat
(for windows) andbot
(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
Description
Languages
Kotlin
92.7%
Shell
6.6%
Dockerfile
0.7%