mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🚨 auto fix by pre-commit hooks
This commit is contained in:
parent
66d7336acb
commit
429a05ac69
@ -506,13 +506,9 @@ class PlatformUtils:
|
|||||||
except Exception:
|
except Exception:
|
||||||
try:
|
try:
|
||||||
if group_id:
|
if group_id:
|
||||||
await bot.call_api(
|
await bot.call_api("group_poke", user_id=user_id, group_id=group_id)
|
||||||
"group_poke", user_id=user_id, group_id=group_id
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
await bot.call_api(
|
await bot.call_api("friend_poke", user_id=user_id)
|
||||||
"friend_poke", user_id=user_id
|
|
||||||
)
|
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"戳一戳发送失败,可能是协议端不支持...",
|
"戳一戳发送失败,可能是协议端不支持...",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user