mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 10:02:23 +00:00
antisticker 修复错误 (#188)
This commit is contained in:
parent
5611cb79e9
commit
147a05fa45
@ -20,8 +20,11 @@ async def auto_remove_sticker(context):
|
||||
if context.chat_id > 0:
|
||||
return
|
||||
if context.sender:
|
||||
if context.sender.bot:
|
||||
return
|
||||
try:
|
||||
if context.sender.bot:
|
||||
return
|
||||
except AttributeError:
|
||||
pass
|
||||
else:
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user