antisticker 修复匿名管理员可以偷取的问题

This commit is contained in:
xtaodada 2021-08-19 17:21:35 +08:00
parent fe0de27a63
commit 0cc5f31381
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 4 additions and 3 deletions

View File

@ -19,6 +19,7 @@ async def auto_remove_sticker(context):
return
if context.chat_id > 0:
return
if context.sender:
if context.sender.bot:
return
else:

View File

@ -752,7 +752,7 @@
},
{
"name": "antisticker",
"version": "1.0",
"version": "1.01",
"section": "chat",
"maintainer": "xtaodada",
"size": "0.7 kb",