Skip to content

Version1.1

Choose a tag to compare

@BeyondKarto BeyondKarto released this 12 Aug 17:22
· 2 commits to main since this release
ffe9942

Telegram Chat Leaderboard Bot

Description

This bot tracks user activity in a Telegram chat, counting the number of messages and characters, and awards points based on the length of the messages. Additionally, the bot can handle images, awarding a fixed number of points for each image sent. The results are stored in an Excel file, which can be downloaded using a command.

Version Updates

Added:

  • Image Support: The bot now awards 10 points for each image sent in the chat.
  • Leaderboard: Added the ability to view the top 10 participants based on their accumulated points.
  • Message Statistics: The bot stores user messages along with the timestamp of when they were sent.
  • Commands:
    • /start: Begins tracking messages.
    • /reset: Resets all data and creates a new Excel file.
    • /top: Displays the top 10 users based on points.
    • /getfile: Downloads the Excel file with the activity statistics.

Command Descriptions

  • /start - Activates the bot to start tracking messages.
  • /reset - Resets all data and creates a new Excel file to store the statistics.
  • /top - Displays the top 10 users based on their accumulated points.
  • /getfile - Sends the Excel file containing data on user activity in the chat.

How to Use

  1. Start the bot by using the /start command.
  2. Send messages or images in the chat.
  3. Use the /top command to view the current top participants.
  4. Use the /getfile command to get the Excel file with the statistics.
  5. To reset data and create a new file, use the /reset command.