diff --git a/fuenfvoracht/src/bot.py b/fuenfvoracht/src/bot.py index 995bb03c..3a3b50aa 100644 --- a/fuenfvoracht/src/bot.py +++ b/fuenfvoracht/src/bot.py @@ -185,6 +185,8 @@ async def handle_callback(update: Update, ctx: ContextTypes.DEFAULT_TYPE): # ── Textnachrichten ─────────────────────────────────────────────────────────── async def handle_message(update: Update, ctx: ContextTypes.DEFAULT_TYPE): + if update.effective_user is None: + return if not is_reviewer(update.effective_user.id): return # Suche ob ein Edit-Pending-Slot aktiv ist