fix: address bot identity review regressions
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# TODO: 这个兼容包装层后续可以删除,统一直接使用 src.chat.utils.utils.is_bot_self
|
||||
# TODO: 这个包装层后续可以删除,统一直接使用 src.chat.utils.utils.is_bot_self
|
||||
# 注意:参数顺序已从旧版 (user_id, platform) 变更为 (platform, user_id),与统一接口一致
|
||||
def is_bot_self(platform: str, user_id: str) -> bool:
|
||||
"""
|
||||
判断用户 ID 是否是机器人自己。
|
||||
|
||||
Reference in New Issue
Block a user