ThevenRexOff / basic-python-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Telegram bot

This bot is made with the pyrogram library you can use this base bot for something more advanced

Installation

pip install -r requirements.txt

Usage

Rename .env.example to .env only
and enter your token, api id, api hash in this file

Example

# bot details
BOT_TOKEN = "12345:AAAAAAABBBBBBBBCCCCCDDDD"
API_HASH  = "AAAABBBBCCC"
API_ID    =  12345678

Run bot

python main.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About


Languages

Language:Python 99.9%Language:Procfile 0.1%