Giter Club home page Giter Club logo

messagecountingbot's Introduction

Telegram Group Chat Message Counter Bot

This bot will count the amount of messages from each participant in a group chat.

It will send rude messages to the least participated users and some good words to the most participated ones.

Usage

  1. Install the latest Python version. I am using Python 3.10 with this project so this one will definitely work.
  2. Run python3 -m venv venv inside root folder of this project to create a virtual environment.
  3. Run source venv/scripts/activate in git bash if you're on windows or source venv/bin/activate if you're on MacOS or Linux to activate your new environment.
  4. Run pip install -r reqs.txt to install all of the required libraries in your environment.
  5. Type in your bot token in .token file. Your token should go after =.
  6. Run bot.py via bash with python bot.py.

Customization

You can change this bot's messages in dic/dictionary.py or check its logs in pycache and logs/log.txt

Notes

Note 1: There is a little chance that I forgot to change the env file name in config_reader.py. Please check. There should be env_file = '.token'.

Note 2: This bot is still under development so there are definitely a lot of bugs and mistakes.

Note 3: You can contact me in telegram via t.me/smbrinee to talk about quick-fixes and add-ons for this bot.

messagecountingbot's People

Contributors

smbrine avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.