mirror of
https://github.com/Parkour-Vienna/PKV_Event_Bot.git
synced 2026-11-05 12:11:41 +01:00
No description
- Python 93%
- Go 6.8%
| data | ||
| deprecated | ||
| .gitignore | ||
| bot_commands.py | ||
| fetch.py | ||
| forum.py | ||
| gen_message.py | ||
| helper.py | ||
| post.py | ||
| README.md | ||
| settings.py | ||
| vote_remind.py | ||
PKV_Event_Bot
Im Moment bauen einige Funktionen (Forum-Fetch, Vote-Reminder, Post Votes to Forum) auf einem cronjob auf. Manches davon könnte man wahrscheinlich mit einem Webhook optimieren.
Für den python-telegram bot:
pip install python-telegram-bot --upgrade
Momentaner crontab:
* * * * * python /[PATH]/fetch.py >> pkv.log 2>&1
0 12 * * 2 python /[PATH]/vote_remind.py >> pkv.log 2>&1
0 14 * * 2 python /[PATH]/post.py >> pkv.log 2>&1
0 9 * * 0 python /[PATH]/vote_remind.py >> pkv.log 2>&1
0 11 * * 0 python /[PATH]/post.py >> pkv.log 2>&1