diff --git a/antisticker.py b/antisticker.py index 0866792..c116706 100644 --- a/antisticker.py +++ b/antisticker.py @@ -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 diff --git a/list.json b/list.json index 755dbcd..896df64 100644 --- a/list.json +++ b/list.json @@ -752,7 +752,7 @@ }, { "name": "antisticker", - "version": "1.01", + "version": "1.011", "section": "chat", "maintainer": "xtaodada", "size": "0.7 kb",