From 45f28db2e6c54df36558f1485beaa9b50e2b8183 Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Fri, 26 Aug 2022 19:59:44 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D`ysc`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LittlePaimon/utils/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LittlePaimon/utils/message.py b/LittlePaimon/utils/message.py index 593ab6b..067f1b6 100644 --- a/LittlePaimon/utils/message.py +++ b/LittlePaimon/utils/message.py @@ -234,7 +234,7 @@ def CommandCharacter(limit: int = 3, replace_uid: bool = True) -> List[str]: async def _character(matcher: Matcher, state: T_State, user_id: str = Arg('main_user')): msg = state['_prefix']['command_arg'].extract_plain_text().strip() if replace_uid else state['msg'] if not msg: - return random.choice(CHARACTERS) + return [random.choice(CHARACTERS)] character_list = [] characters = msg.split(' ') for character_name in characters: