The assistant bot that helps people with Pyrogram directly on Telegram.
This repository contains the source code of @PyrogramBot and the instructions for running a copy yourself. Beside its main purpose, the bot is featuring Pyrogram Asyncio, Smart Plugins and Inline Mode; feel free to explore the source code to learn more about these topics.
- Python 3.6 or higher.
- A Telegram API key.
- A Telegram bot token.
git clone https://github.com/pyrogram/assistant
, to download the source code.cd assistant
, to enter the directory.pip3 install -r requirements.txt
, to install the requirements.- Create a new
assistant.ini
file, copy-paste the following and replace the values with your own:[pyrogram] api_id = 12345 api_hash = 0123456789abcdef0123456789abcdef [assistant] bot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
- Run with
python3 -m assistant
, stop with CTRL+C.
MIT © 2019 Dan