A small Telegram bot that adds @all to groups
To launch the bot, there are two options. The first is through Docker, the second is through fat Jar.
The first step is to collect an image of the project. To do this use the command:
docker build -t mentions-bot .
Next, launch the container based on the image you just created:
docker run --name mentions-bot -d -e BOT_TOKEN="" mentions-bot
To do this, download the jar file from the latest release or build it yourself:
.\gradlew shadowJar
After that, run the jar
file, having first created the BOT_TOKEN
environment variable:
java -jar MentionsBot-1.1.0.jar