Giter VIP home page Giter VIP logo

assistant's Introduction

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-2020 Dan

assistant's People

Contributors

delivrance avatar colinshark avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.