summaryrefslogtreecommitdiff
path: root/ATRI/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2021-04-16 15:38:47 +0800
committerGitHub <[email protected]>2021-04-16 15:38:47 +0800
commita2296136a226e926a3eb960ac60d60d7af4d6765 (patch)
treeadff37a2a89e4e742a0c2d67a3c8ca379b31c148 /ATRI/plugins
parent4c682d9678aff44ed1a5bebf3cb6136d1d3ba587 (diff)
downloadATRI-a2296136a226e926a3eb960ac60d60d7af4d6765.tar.gz
ATRI-a2296136a226e926a3eb960ac60d60d7af4d6765.tar.bz2
ATRI-a2296136a226e926a3eb960ac60d60d7af4d6765.zip
🐛 修BUG
Diffstat (limited to 'ATRI/plugins')
-rw-r--r--ATRI/plugins/funny.py4
1 files changed, 0 insertions, 4 deletions
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)