Skip to content

A Telegram bot that adds some utility to mentions in chats

License

Notifications You must be signed in to change notification settings

orewaee/mention-bot

Repository files navigation

MentionsBot

A small Telegram bot that adds @all to groups

Launch

To launch the bot, there are two options. The first is through Docker, the second is through fat Jar.

Docker

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

Fat Jar

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