Skip to content

MostafaMotahari/Sila-Referee-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Python Telegram

Sila Referee Telegram Bot

What's Sila? An intruction to Sila Complex.

Every match needs a referee to judge it.

Football guessing competitions are no exception to this rule.

Therefore, instead of using human power to hold a match, you can use this robot to hold your matches completely automatically.

This bot uses restful of Sila Website to to receive all the data related to the competitions and organize the competitions based on the received data from website.

Therefore, the work of your collection will proceed harmoniously and without confusion.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

API_HASH & API_ID & BOT_TOKEN For telegram services.

OWNER_ID For numeric account ID of the owner.

API_URL & API_TOKEN For your Sila Website API.

DB_URL For your Postgres SQL database.

Run Locally

Clone the project

  git clone https://github.com/MostafaMotahari/Sila-Referee-Bot.git

Go to the project directory

  cd Sila-Referee-Bot

Create a virtual environment and install dependencies

  pip install -r requirements.txt

Start the project

  python -m src

Roadmap

  • Dockerize project.

License

MIT