mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +08:00
✅ update testcase
This commit is contained in:
parent
322ac98c50
commit
0ec7cdc3aa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user