https://github.com/orewaee/mention-bot
A Telegram bot that adds some utility to mentions in chats
https://github.com/orewaee/mention-bot
bot mentions telegram
Last synced: 7 months ago
JSON representation
A Telegram bot that adds some utility to mentions in chats
- Host: GitHub
- URL: https://github.com/orewaee/mention-bot
- Owner: orewaee
- License: mit
- Created: 2023-10-28T20:39:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T16:15:36.000Z (about 1 year ago)
- Last Synced: 2025-01-18T15:51:53.337Z (9 months ago)
- Topics: bot, mentions, telegram
- Language: Java
- Homepage:
- Size: 202 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```shell
docker build -t mentions-bot .
```Next, launch the container based on the image you just created:
```shell
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:```shell
.\gradlew shadowJar
```After that, run the `jar` file, having first created the `BOT_TOKEN` environment variable:
```shell
java -jar MentionsBot-1.1.0.jar
```