Mud9AdminBot is a group management telegram bot made by @Mud9 (@Mud9BotDev) in Python 3.
This bot made use of python-telegram-bot as its framework with [mysql] as database backend.
- python-telegram-bot - The best Python framework for telegram bots!
- PyMySQL - Pure Python MySQL Client.
- SQLAlchemy - The Database Toolkit for Python - used for SQL connection pooling.
- pytz - Timezone management.
- polib - Internationalization management.
Mud9AdminBot requires Python v3.3+ to run.
First, Clone the project and install the dependencies. (If pip fails, you may have to use pip3.) A virtual environment is recommended.
$ git clone https://github.com/mud9/mud9adminbot/mud9adminbot.git
$ cd mud9adminbot
$ pip install -r requirements.txt
$ cp config_example.py config.pyEdit your new copied config.py and include your telegram bot token (You can get one from @botfather), your telegram ID (send a message to @UserInfoBot), and your mysql server details.
$ nano config.pyAll things set, fire up your bot!
$ python3 start_bot.pyTo be continued.
To be continued.
This project is on GPLv3. You are free to fork, clone and modify it as long as you keep it open-sourced.