求一个KOOK卡片信息的插件

功能:如能够在kook客户端中点击跳转链接

3 个赞

Kook 适配器已经支持按钮和卡片了,你现在安装 echo 插件并尝试:

echo -E <button>测试</button>

就能在 Kook 显示一个按钮。

2 个赞

那我怎么能让这个按钮里面套一个链接呢emm,谢谢

2 个赞

There is an additional property named type on button element, it would be rendered as a link button if you specify the type as link, and give it a href.

3 个赞
echo -E <button href="https://koishi.chat" type="link">测试</button>
2 个赞