Browse Source

deactivated mensa for random noise group

master
Angerstoner 6 years ago
parent
commit
a947a98578
  1. 2
      .gitignore
  2. 4
      mensa.py

2
.gitignore

@ -1,4 +1,6 @@
token token
prod_token
test_token
deaths.db deaths.db
# ---> Python # ---> Python

4
mensa.py

@ -2,6 +2,8 @@ import datetime
from telegram import ParseMode from telegram import ParseMode
import requests import requests
DISABLED_GROUPS = [-1001301570558]
DIETS = { DIETS = {
"veggy": "fleischlos", "veggy": "fleischlos",
"fleisch": "mit Fleisch", "fleisch": "mit Fleisch",
@ -67,6 +69,8 @@ MODES = {
def mensa(bot, update, args): def mensa(bot, update, args):
if update.message.chat_id in DISABLED_GROUPS:
return
which = "zentral" which = "zentral"
filter_categories = MODES["light"] filter_categories = MODES["light"]
today = datetime.datetime.now().date() today = datetime.datetime.now().date()

Loading…
Cancel
Save