mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 06:56:39 +00:00 
			
		
		
		
	🎨 improve code style
This commit is contained in:
		| @@ -1,12 +1,11 @@ | ||||
| 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 | ||||
| from nonebot.typing import T_State | ||||
| from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent | ||||
|  | ||||
| helper = on_command("say") | ||||
|  | ||||
|  | ||||
| @helper.handle() | ||||
| async def feishu_helper(bot: FeishuBot, event: MessageEvent): | ||||
| async def feishu_helper(bot: FeishuBot, event: MessageEvent, state: T_State): | ||||
|     message = event.get_message() | ||||
|     await helper.finish(message, at_sender=True) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user