Merge pull request #4247 from k1z/v2

This commit is contained in:
jxxghp
2025-05-10 00:35:07 +08:00
committed by GitHub

View File

@@ -119,7 +119,7 @@ class MessageChain(ChainBase):
userid = info.userid
# 用户名
username = info.username or userid
if not userid:
if userid is None or userid == '':
logger.debug(f'未识别到用户ID{body}{form}{args}')
return
# 消息内容