From a2296136a226e926a3eb960ac60d60d7af4d6765 Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Fri, 16 Apr 2021 15:38:47 +0800 Subject: =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AEBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/funny.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ATRI/plugins') diff --git a/ATRI/plugins/funny.py b/ATRI/plugins/funny.py index 8aea8d1..03b844a 100644 --- a/ATRI/plugins/funny.py +++ b/ATRI/plugins/funny.py @@ -69,10 +69,6 @@ roll_wife = sv.on_command( async def _roll_wife(bot: Bot, event: GroupMessageEvent) -> None: user = event.user_id group = event.group_id - msg = str(event.message) - - if msg != "抽老婆": - return user_name = await bot.get_group_member_info(group_id=group, user_id=user) -- cgit v1.2.3