Updates your bot status in the message, every two hours.
NOTE: This branch needs to be hosted to work. If you prefer to host on GitHub WorkFlows, visit the other branch.
APP_ID
andAPI_HASH
from my.telegram.org.BOTS
- TG UserName of your bots separated by space.SESSION
- Telethon SessionString of the User to edit the message.CHANNEL_ID
- ID of your channel.MESSAGE_ID
- ID of the message to edit.
Fill these in a .env
file, if hosting on a VPS.
To deploy on a VPS, follow these steps
- Update and upgrade your system packages:
sudo apt-get update && sudo apt-get upgrade -y
- Clone the repository and navigate to the project directory:
git clone https://github.com/decentboyy/octave_bot_stats
- Install the required packages:
pip3 install -U -r requirements.txt
- Create .env using example.env
cp example.env .env
- Now open the .env file using vi .env
- Edit the vars, by pressing I on the keyboard
- After editing save the file using ctrl + c then :wq
- Run the script using Python 3:
python3 main.py