add interactive chat box docs

This commit is contained in:
crazywhalecc 2022-12-31 19:57:49 +08:00
parent f2fb40b67c
commit c1a0fae6e6
No known key found for this signature in database
GPG Key ID: 4B0FFA175E762022

View File

@ -100,6 +100,11 @@ $cmd1 = BotCommand::make('repeater', match: '复读')->on(function(OneBotEvent $
至此,你的第一个功能,复读机,也就开发完成了。
<chat-box :my-chats="[
{type:0,content:'复读 给我复读'},
{type:1,content:'复读 给我复读'},
]"></chat-box>
## 使用机器人 API 和更多事件
如果你希望机器人进行其他复杂的动作(操作),请参见 机器人 API。