diff --git a/.gitignore b/.gitignore index 641275b..da3a307 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ token +prod_token +test_token deaths.db # ---> Python diff --git a/mensa.py b/mensa.py index a60d15c..9859438 100644 --- a/mensa.py +++ b/mensa.py @@ -2,6 +2,8 @@ import datetime from telegram import ParseMode import requests +DISABLED_GROUPS = [-1001301570558] + DIETS = { "veggy": "fleischlos", "fleisch": "mit Fleisch", @@ -67,6 +69,8 @@ MODES = { def mensa(bot, update, args): + if update.message.chat_id in DISABLED_GROUPS: + return which = "zentral" filter_categories = MODES["light"] today = datetime.datetime.now().date()