diff --git a/antisticker.py b/antisticker.py index e04db45..0866792 100644 --- a/antisticker.py +++ b/antisticker.py @@ -19,8 +19,9 @@ async def auto_remove_sticker(context): return if context.chat_id > 0: return - if context.sender.bot: - return + if context.sender: + if context.sender.bot: + return else: return diff --git a/list.json b/list.json index 2ed2fbd..4177be3 100644 --- a/list.json +++ b/list.json @@ -752,7 +752,7 @@ }, { "name": "antisticker", - "version": "1.0", + "version": "1.01", "section": "chat", "maintainer": "xtaodada", "size": "0.7 kb",