diff --git a/HSMensaW_botA.py.BAK b/HSMensaW_botA.py.BAK index 2785469..0a0ba79 100644 --- a/HSMensaW_botA.py.BAK +++ b/HSMensaW_botA.py.BAK @@ -39,10 +39,12 @@ info_str = "*Mensa-Bot der Hochschule Mittweida (beta)*\nDieser Bot versendet je status = "" essen = [] var = True +datum = None class HSMensaW(telepot.aio.helper.ChatHandler): - async def on_chat_message(self, msg): + @staticmethod + async def on_chat_message(msg): global config, essen, status, var content_type, chat_type, chat_id = telepot.glance(msg)