Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

pyrogram/assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyrogram Assistant

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.

Requirements

Run

  1. git clone https://github.com/pyrogram/assistant, to download the source code.
  2. cd assistant, to enter the directory.
  3. python3 -m venv venv && . venv/bin/activate to create and activate a virtual environment.
  4. pip install -U -r requirements.txt, to install the requirements.
  5. Create a new assistant.ini file, copy-paste the following and replace the values with your own:
    [pyrogram]
    api_id = 12345
    api_hash = 0123456789abcdef0123456789abcdef
    bot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
  6. Run with python -m assistant.
  7. Stop with CTRL+C and deactivate the virtual environment.

License

MIT © 2019-present Dan