mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
fix🐛: 修复B站动态获取失败的时候,会发送空消息
This commit is contained in:
parent
b9a39c2760
commit
72e0c7fdb5
@ -335,6 +335,10 @@ PS: **ARM平台** 请使用全量版 同时 **如果你的机器 RAM < 1G 可能
|
||||
|
||||
## 更新
|
||||
|
||||
### 2023/12/28
|
||||
|
||||
* 修复B站动态获取失败的时候,会发送空消息
|
||||
|
||||
### 2023/9/6
|
||||
|
||||
* 修正b站订阅
|
||||
|
||||
@ -278,7 +278,7 @@ async def send_sub_msg(rst: str, sub: BilibiliSub, bot: Bot):
|
||||
:param bot: Bot
|
||||
"""
|
||||
temp_group = []
|
||||
if rst:
|
||||
if rst and rst.strip():
|
||||
for x in sub.sub_users.split(",")[:-1]:
|
||||
try:
|
||||
if ":" in x and x.split(":")[1] not in temp_group:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user