From 0b9dfffa4443011fb5cee0a58ec4cc48958b308b Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 5 Jul 2022 17:33:34 +0800 Subject: [PATCH] fix a bug --- plugins/service.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/service.py b/plugins/service.py index d9cac5c..bf7ea89 100644 --- a/plugins/service.py +++ b/plugins/service.py @@ -24,8 +24,6 @@ async def chat_members_handle(client: Client, message: Message): if message.new_chat_members: for i in message.new_chat_members: if i.is_self: - with contextlib.suppress(Exception): - await log(chat, user, "NEW_GROUP") return user = message.new_chat_members[0] if message.new_chat_members else message.from_user if user.is_self or user.is_verified or user.is_bot or user.is_deleted or user.is_support: