go-cqhttp-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

go-cqhttp-js

基于 go-cqhttp,使用 Typescript 实现的 QQ bot 框架,整体的实现方法,参照自 Mirai-js。

bot.on('FriendMessage', new Middleware().friendFilter([ 12345 ])
    .done(data => {
        bot.sendMessage({
            user_id: data.user_id,
            message: new Message().addText('hello world!'),
        })
    })
);

开发文档

Package Sidebar

Install

npm i go-cqhttp-js

Weekly Downloads

9

Version

0.0.10

License

GPL-3.0-or-later

Unpacked Size

151 kB

Total Files

119

Last publish

Collaborators

  • 7liang