0.0.27 • Published 6 months ago

irovabot v0.0.27

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

前置条件

  1. 已经部署了一个napcat服务并开启了websocket
  2. 电脑安装了nodejs>=20
#找一个地方执行以下命令
mkdir bot
cd bot
npx irovabot

之后根据提示填写相应配置信息即可一键启动,在项目目录下的plugins/demo/index.js有示例插件,相关接口可参考napcat文档。

后台启动

#下载pm2以使用后台启动命令
npm install pm2 -g
#在bot目录下执行以下命令
pm2 start app.js --name bot
#=====到此bot已成功后台运行,以下是查看进程相关操作=====

#查看已后后台启用的进程(可选)
pm2 list
# 查看日志
pm2 logs bot
#停止
pm2 stop bot
#重启
pm2 restart bot
0.0.27

6 months ago

0.0.26

6 months ago

0.0.25

6 months ago

0.0.24

7 months ago

0.0.23

7 months ago

0.0.22

7 months ago

0.0.21

7 months ago

0.0.20

7 months ago

0.0.19

7 months ago

0.0.18

7 months ago

0.0.17

7 months ago

0.0.16

7 months ago

0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago