From 1835691d5aa33e8f9ef7dc1c9f2eb724498e3b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E7=BE=85=E7=8B=BC?= Date: Wed, 18 Dec 2024 19:10:59 +0800 Subject: [PATCH] update --- modules/core/modules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/modules.py b/modules/core/modules.py index dc09de7df1..55f29c8cbb 100644 --- a/modules/core/modules.py +++ b/modules/core/modules.py @@ -71,9 +71,9 @@ async def config_modules(msg: Bot.MessageSession): for module_ in wait_config: if module_ not in wait_config_list: if module_ in alias: - wait_config_list.append(alias[module_]) + wait_config_list.append(alias[module_].split()[0]) else: - wait_config_list.append(module_) + wait_config_list.append(module_.split()[0]) msglist = [] recommend_modules_list = [] recommend_modules_help_doc_list = []