diff --git a/hexi/plugins/battlefield2042status/__init__.py b/hexi/plugins/battlefield2042status/__init__.py index 232dce2..44bc3e1 100644 --- a/hexi/plugins/battlefield2042status/__init__.py +++ b/hexi/plugins/battlefield2042status/__init__.py @@ -22,6 +22,7 @@ status = on_command("2042战绩", aliases=status_aliases) @status.handle() async def handle_status(event: MessageEvent, state: T_State): m_state = MessageState(state) + print(state) cmd = m_state.get_command() msg = m_state.get_command_arg() cmd = cmd[0] diff --git a/test/__init__.py b/test/__init__.py index 4c1d07c..0968152 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -15,8 +15,9 @@ test = on_command("测试", aliases={"测试"}) @test.handle() -async def handle_test(event: MessageEvent,state:T_State): +async def handle_test(event: MessageEvent, state: T_State): m_state = MessageState(state) + print(state) cmd = m_state.get_command() msg = m_state.get_command_arg() uid = event.user_id