New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-mirai-ok

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-mirai-ok

Node Mirai One Key

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

NodeMiraiOK

快速部署基于 NodeJSmirai 机器人项目

依赖: NodeJS v10.12.0+

已经能做到

  • 自动下载和更新 mirai 三件套
  • 自动配置 Java 环境
  • 自动登录
  • 一键安装 mirai-console 插件(Beta)
  • 快速配置并随 console 运行 node-mirai-sdkmirai-ts 项目

Usage

安装 nmok

npm i -g node-mirai-ok

安装和运行mirai-console

nmok create my-qq-bot
cd my-qq-bot
nmok run

其他

初始化 node-mirai-sdkmirai-ts 项目模板

nmok init <-t>

添加参数 -t 来使用 mirai-ts

编辑 index.js 中的相关配置, 然后:

nmok run

现在在启动 mirai-console 后, nmok 还会自动运行 index.js, 你也可以使用

nmok run --pure

只启动 mirai-console 而不运行 index.js

添加 mirai-console 插件

nmok add mirai-api-http # 如果使用了 nmok init 此插件会自动安装
  • 更多插件接入中, 插件作者如需接入请 邮件联系

查看帮助

nmok -h

Keywords

mirai

FAQs

Package last updated on 04 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts