01 /About
Telegram: advanced matchmaking and player profiles
02 /🧑💼 User profiles
- 01Profile registration with step-by-step Redis session
- 02Fields: nickname, game_id, MMR, server, reputation, verification, About, Looking for
- 03Profile view with computed rank by MMR
- 04Inline toggle for looking status (🟢/🔴)
- 05Own screenshots viewer (overall/season stats)
03 /✏️ Profile editing
- 01Inline menu to edit individual fields
- 02Nickname/text validation (filters)
- 03Daily MMR change limit (verified up to 4 times, others — 1)
- 04Server selection via keyboard
- 05Upload/replace screenshots with local storage and file_id
04 /🔍 Search & matchmaking
- 01MMR-based matching with expanding ranges
- 02Exclude already viewed (last 100 views)
- 03View limit per 6 hours
- 04Inline: Want to play, Next, Report, Menu
- 05Contact requests: send/accept/decline, hourly outbound limit
05 /🚨 Reports & moderation
- 01Report submission with preset/custom reasons
- 02Report session in Redis and anti-spam (24h cooldown)
- 03Send reports to a log channel with inline admin actions
- 04Admin actions from report: show profiles, message parties, warn, ban
06 /🛡️ Punishments
- 01Ban/unban via commands and admin panel (deactivation, reason, date)
- 02Auto disable search on ban
- 03OnlyNotBanned middleware blocks banned users
- 04Detailed ban log to ban_logs and main admin notification
- 05Warnings via admin actions from reports
07 /✅ Verification
- 01Verification request command
- 02Multi-step process with fairness confirmation and codeword
- 03Send requests to all admins, decision with reason
- 04Decision logs to channel and user notifications
08 /🛠️ Admin tools
- 01Admin panel: user actions (ban, verification, etc.)
- 02Broadcast with confirmation
- 03Stats/reports handlers
- 04View and manage reports
- 05Message users as admin
09 /🔒 Limits & safety
- 01Rate limiting: /start, search, contact requests, profile views
- 02Auto enabling search on starting teammate search
- 03Subscription/state check on rate-limit, bot self-test
- 04Safe message/media sends (resilient to blocks/errors)
10 /📣 Logging & notifications
- 01Unified logEvent to logs/app.log
- 02Errors to logs/error.log, critical alerts — to admins
- 03Log channel notifications (bans, verification, reports)
- 04Send profiles/messages to groups/topics with auto-delete if needed
11 /⏱️ Schedulers & background jobs
- 01Deactivate inactive users every 12h
- 02Clean old contact requests daily
- 03TTL cleanup for profile views (7 days)
- 04Healthcheck module (infrastructure checks)
12 /📱 Bot UI & menus
- 01Main menu and start menu (keyboards and inline)
- 02Sections: my profile, search, edit, chat, bug report
- 03Inline Main Menu and quick navigation
- 04Telegram chat button
13 /🧩 Technical
- 01Node.js (CommonJS) + Telegraf
- 02MongoDB with indexes and basic schema validation
- 03Redis (ioredis) for sessions and rate limit
- 04Local screenshots in uploads/screenshots + file_id
- 05Env-based config (BOT_TOKEN, MONGO_URI, etc.)
- 06Topics support (message_thread_id) for supergroups
14 /Gallery



