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

2.8.11 • Public • Published

Mirai-js

Mirai-js v3 正在开发中, code and review

CodeFactor HitCount

Mirai-js,一个运行在 Node.js、浏览器下的,简单的 QQ 机器人开发框架。

使用一目了然的异步 api,以及强大的中间件机制来实现你的应用。

bot.on('FriendMessage', new Middleware().friendFilter([ 1019933576 ])
    .done(async data => {
        await bot.sendMessage({
            friend: data.sender.id,
            message: new Message().addText('hello world!'),
        });
    })
);

开发文档:

QQ 群: 730757181

如果觉得这个项目还不错的话,就动动小手给个 star 吧!

Stargazers over time

Stargazers over time

支持这个项目

感谢

JetBrains 一直致力于创造强大、高效的开发工具。

感谢 JetBrains 对该项目支持的开源开发许可证。

Readme

Keywords

Package Sidebar

Install

npm i mirai-js

Weekly Downloads

0

Version

2.8.11

License

AGPL-3.0

Unpacked Size

564 kB

Total Files

159

Last publish

Collaborators

  • gaolihai