Simple telegram self-bot
$ pip install -r requirements.txt
or
$ pip install -U pyrogram
Note: Make sure you've installed Python ^3
$ mv config.example.ini config.ini
Get your account info from Here, then put your api_id
and api_hash
to config.ini
.
And finally run the main.py file:
$ python3 main.py
Command | Description |
---|---|
/on | Turn on |
/off | Turn off |
/status | Shows status |
/setid DibDmini | Set friend's ID |
/setmsg "I Love Potato 🥔" | Set message |
/send | Send your message (👆) to your friend |