MCPcopy Index your code
hub / github.com/Drincann/Mirai-js

github.com/Drincann/Mirai-js @v2.8.0-3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.8.0-3 ↗ · + Follow
258 symbols 343 edges 71 files 79 documented · 31%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 吧!

支持这个项目

感谢

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

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

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 147
Class 56
Interface 51
Function 4

Languages

TypeScript100%

Modules by API surface

src/Message.js66 symbols
src/Bot.js47 symbols
src/FileManager.js40 symbols
src/Bot.d.ts40 symbols
src/Middleware.js25 symbols
src/BaseType.d.ts15 symbols
src/interface.js9 symbols
src/Middleware.d.ts5 symbols
src/Waiter.js4 symbols
src/Message.d.ts4 symbols
src/Waiter.d.ts2 symbols
src/util/errCode.js1 symbols

For agents

$ claude mcp add Mirai-js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page