diff --git a/forcegroup.py b/forcegroup.py index 5594b50..507d658 100644 --- a/forcegroup.py +++ b/forcegroup.py @@ -17,6 +17,11 @@ async def force_group_msg(context: Message): return if redis.get(f"group.chat_id.{context.chat_id}.{context.sender_id}"): return + try: + if context.sender.bot: + pass + except AttributeError: + return try: try: await bot(GetParticipantRequest(context.chat, context.sender_id)) diff --git a/list.json b/list.json index b6a69fb..1155740 100644 --- a/list.json +++ b/list.json @@ -622,7 +622,7 @@ }, { "name": "forcegroup", - "version": "1.0", + "version": "1.01", "section": "daily", "maintainer": "xtaodada", "size": "3.6 kb",