forcesubscribe 修复关联频道消息报错

This commit is contained in:
xtaodada 2021-07-15 19:57:40 +08:00
parent 9c01f3f2ca
commit 418fb0f5dc
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 5 additions and 2 deletions

View File

@ -52,7 +52,10 @@ async def force_subscribe_msg(context: Message):
return
else:
join_chat = join_chat.decode()
if context.sender.bot:
try:
if context.sender.bot:
return
except AttributeError:
return
try:
try:

View File

@ -612,7 +612,7 @@
},
{
"name": "forcesubscribe",
"version": "1.02",
"version": "1.03",
"section": "daily",
"maintainer": "xtaodada",
"size": "4.2 kb",