This repository contains a template based on PyrogramBot and the instructions for setting it up yourself.
This template features Pyrogram Asyncio and Smart Plugins. Feel free to explore the Source Code and the Documentation to learn more about these topic.
- Python3.6 or higher.
- A Telegram API Key.
git clone https://github.com/Pyrogram/async_modular
, to download the source code.cd async_modular
, to enter the directory.pip install -r requirements.txt
, to install the requirements.- Create a new
my_bot.ini
file, copy-paste the folowing and replace the values with your own:
[pyrogram]
api_id = 123456
api_hash = 0123456789abcdef0123456789abcdef
- Run with python3 -m my_bot, stop with CTRL+C