Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wueestry/clubcorner-bot
Bot to get notifications from clubcorner website if any open games are available
https://github.com/wueestry/clubcorner-bot
bot clubcorner python selenium-python telegram-bot
Last synced: 19 days ago
JSON representation
Bot to get notifications from clubcorner website if any open games are available
- Host: GitHub
- URL: https://github.com/wueestry/clubcorner-bot
- Owner: wueestry
- Created: 2022-05-10T18:39:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T11:52:20.000Z (about 2 months ago)
- Last Synced: 2024-11-25T12:33:49.205Z (about 2 months ago)
- Topics: bot, clubcorner, python, selenium-python, telegram-bot
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clubcorner-bot
The clubcorner-bot fetches all available games without a referee from clubcorner and sends a message via telegram if a new game is available
**Installation**:
1. clone the repo2. Telegram:
- After opening an account on Telegram, in the search bar at the top search for “BotFather”
- Click on the ‘BotFather’ (first result) and type `/newbot`
- Give a unique name to your bot. After naming it, Botfather will ask for its username. Then also give a unique name BUT remember the username of your bot must end with the bot, like my_bot, hellobot etc.
- After giving a unique name and if it gets accepted you will get a message. Save the access token3. Edit the file app/keys.json. Add your login data for clubcorner in "email" and "clubcorner" (password). Add the access token previously generated to "telegram_token". Finally add the chat id where you have added the bot to in "telegram_chat_id"
4. Build the docker container by running `docker build -t "clubcorner:latest" .` form inside the clubcorner-bot folder. Finally run the container by running `docker run -d clubcorner`. The bot will now retreive new games every 5 minutes.