update readmes

This commit is contained in:
2026-05-07 17:18:24 +06:00
parent 89e1eec53e
commit f9c131d5e1
35 changed files with 1368 additions and 77 deletions

View File

@@ -1,6 +1,38 @@
# ReactionsInfoBot
This bot will send info about user reactions in his PM with reply to message user reacted to
A bot that tracks message reactions and reports them back to the user.
## Functionality
Monitors reaction updates in the bot's private chat. When a user adds or removes a reaction on a
message, the bot replies to that message with a formatted summary of the current reactions.
The bot also sets a reaction emoji on incoming messages to acknowledge them.
## Arguments
| Position | Value | Description |
|----------|-------|-------------|
| 1 | `BOT_TOKEN` | Telegram bot token |
Optional arguments (any order after the token):
| Value | Description |
|-------|-------------|
| `debug` | Enable verbose debug logging |
| `testServer` | Connect to the Telegram test server instead of production |
## Bot Commands
None.
## Capabilities
- Handles `MessageReactionUpdated` events (per-user reaction changes)
- Handles `MessageReactionCountUpdated` events (aggregate reaction counts)
- Identifies reaction types: standard emoji, custom emoji, paid reactions
- Replies to the reacted-to message with a formatted list of current reactions
- Sets a reaction on received messages using `setMessageReaction`
- Runs via long polling
## Launch