add ban and unban commands, integrate BanMiddleware, and extend database schema

This commit is contained in:
2026-07-02 22:12:05 +03:00
parent a097abf5bc
commit 1287fe7ec8
8 changed files with 138 additions and 5 deletions
+2
View File
@@ -52,6 +52,8 @@ A Telegram bot designed for secure message forwarding with captcha verification.
- `/stats`: View total user count.
- `/logs`: See a list of the 10 most recent redirected messages.
- `/view <ID>`: View detailed information about a specific message by its ID.
- `/ban <USER_ID>`: Block a user from using the bot.
- `/unban <USER_ID>`: Unblock a user.
## Commands