Hi this is a little Telegram userbot I made in order to automatize various tasks that I find annoying to do otherwise.
Windows
First you have to install Python.
Then open cmd
and type:
pip install telethon pillow cryptg matplotlib
git clone https://github.com/moresdavidewayan/ubot.py.git
Arch Linux
Open your terminal and run:
sudo pacman --noconfirm -Syu pyhton python-pip
sudo pip install telethon pillow cryptg matplotlib
git clone https://github.com/moresdavidewayan/ubot.py.git
When you run the file the program will ask if you want to use the values set in the configuration file(config.py). Using this method everytime you'll have to input your informations which 'll be annoying, so consider to change your information manually in the configuration file. You'll need to connect to Telegram and generate your:
- API ID
- API hash
Then you'll also need the name of your Telegram account. The session name can be whatever you want
If you change your session name the userbot 'll ask everytime your phone number and the code Telegram 'll send to you
Open your terminal in your working directory and type:
python ubot.py