Archived
1
0
Fork 0

Update message.py

This commit is contained in:
yzhh 2023-02-05 20:14:04 +08:00
parent ed763a1ce3
commit 8dca12f8ec

View file

@ -219,7 +219,8 @@ class FetchTarget(FT):
Temp.data['is_group_message_blocked'] = True
Temp.data['waiting_for_send_group_message'].append({'fetch': fetch_, 'message': message})
fetch_base_superuser = await FetchTarget.fetch_target(base_superuser)
await fetch_base_superuser.sendDirectMessage('群消息发送被服务器拦截,已暂停群消息发送,使用~resume命令恢复推送。')
if fetch_base_superuser:
await fetch_base_superuser.sendDirectMessage('群消息发送被服务器拦截,已暂停群消息发送,使用~resume命令恢复推送。')
except Exception:
Logger.error(traceback.format_exc())