Skip to content

decentboyy/octave_bot_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BotStatus

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.

Variables.

  • APP_ID and API_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.

Deploy

Vps

To deploy on a VPS, follow these steps

  1. Update and upgrade your system packages:
sudo apt-get update && sudo apt-get upgrade -y
  1. Clone the repository and navigate to the project directory:
git clone https://github.com/decentboyy/octave_bot_stats
  1. Install the required packages:
pip3 install -U -r requirements.txt
  1. Create .env using example.env
cp example.env .env
  1. Now open the .env file using vi .env
  2. Edit the vars, by pressing I on the keyboard
  3. After editing save the file using ctrl + c then :wq
  4. Run the script using Python 3:
python3 main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published