Archived
1
0
Fork 0

Update message.py

This commit is contained in:
yzhh 2023-06-12 22:48:23 +08:00 committed by GitHub
parent de19ed3f30
commit 14cadf5b77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,7 +295,7 @@ class FetchTarget(FT):
if enable_analytics:
BotDBUtil.Analytics(fetch_).add('', module_name, 'schedule')
await asyncio.sleep(0.5)
except aiocqhttp.ActionFailed as e:
except SendMessageFailed as e:
if e.result['wording'] == 'send group message failed: blocked by server':
if len(_tsk) >= 3:
blocked = True