Mirai-js icon indicating copy to clipboard operation
Mirai-js copied to clipboard

运行在 Node.js、浏览器下,基于 mirai-api-http 的 QQ 机器人开发框架。

Mirai-js

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 对该项目支持的开源开发许可证。