No description
  • Python 93%
  • Go 6.8%
Find a file
2021-03-30 01:42:00 +02:00
data added several callbackqueries 2021-03-30 01:41:46 +02:00
deprecated PEP8 corrections, added result posting 2021-03-26 23:57:00 +01:00
.gitignore add .json 2021-03-27 00:56:38 +01:00
bot_commands.py added several callbackqueries 2021-03-30 01:41:46 +02:00
fetch.py support for multiple chat ids 2021-03-30 01:42:00 +02:00
forum.py catch also indexerror 2021-03-27 00:56:31 +01:00
gen_message.py reformatting, added rmvote 2021-03-29 04:11:11 +02:00
helper.py support for multiple chat ids 2021-03-30 01:42:00 +02:00
post.py add settings 2021-03-27 01:12:01 +01:00
README.md Update README.md 2021-03-29 00:43:36 +02:00
settings.py support for multiple chat ids 2021-03-30 01:42:00 +02:00
vote_remind.py support for multiple chat ids 2021-03-30 01:42:00 +02:00

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