update testcase

This commit is contained in:
StarHeartHunt 2021-07-06 14:58:00 +08:00
parent 322ac98c50
commit 0ec7cdc3aa

View File

@ -3,10 +3,10 @@ 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("114514")
helper = on_command("say")
@helper.handle()
async def feishu_helper(bot: FeishuBot, event: MessageEvent):
message = MessageSegment.text("1919810")
message = event.get_plaintext()
await helper.finish(message)