diff --git a/tests/test_plugins/test_feishu.py b/tests/test_plugins/test_feishu.py index fdd2e2fa..3dee1ce1 100644 --- a/tests/test_plugins/test_feishu.py +++ b/tests/test_plugins/test_feishu.py @@ -1,12 +1,12 @@ -from nonebot.adapters.feishu.event import GroupMessageEvent, PrivateMessageEvent +from nonebot.adapters.feishu.event import MessageEvent from nonebot.rule import to_me from nonebot.plugin import on_command from nonebot.adapters.feishu import Bot as FeishuBot, MessageSegment, MessageEvent -helper = on_command("ding_helper", to_me()) +helper = on_command("114514") @helper.handle() async def ding_helper(bot: FeishuBot, event: MessageEvent): - message = MessageSegment.text("114514") + message = MessageSegment.text("1919810") await helper.finish(message)