fix: restore manager info logs
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
||||
username = user.username or ""
|
||||
first_name = user.first_name or ""
|
||||
text = msg.text
|
||||
logger.debug(f"💬 聊天消息 [{username or first_name or user.id}]: {text[:80]}")
|
||||
logger.info(f"💬 聊天消息 [{username or first_name or user.id}]: {text[:120]}")
|
||||
|
||||
# === 防刷屏 ===
|
||||
now = datetime.now().timestamp()
|
||||
|
||||
Reference in New Issue
Block a user