/async_modular

A modular asynchronous Pyrogram Client

Primary LanguagePythonMIT LicenseMIT

async_modular

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.

Requirements

Run

  1. git clone https://github.com/Pyrogram/async_modular, to download the source code.
  2. cd async_modular, to enter the directory.
  3. pip install -r requirements.txt, to install the requirements.
  4. 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
  1. Run with python3 -m my_bot, stop with CTRL+C

License

MIT © 2019 Dan & Colin