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 return
if context.chat_id > 0: if context.chat_id > 0:
return return
if context.sender:
if context.sender.bot: if context.sender.bot:
return return
else: else:

View File

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