0.0.27 • Published 8 months ago

irovabot v0.0.27

Weekly downloads
-
License
MIT
Repository
-
Last release
8 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

8 months ago

0.0.26

8 months ago

0.0.25

8 months ago

0.0.24

9 months ago

0.0.23

9 months ago

0.0.22

9 months ago

0.0.21

9 months ago

0.0.20

9 months ago

0.0.19

9 months ago

0.0.18

9 months ago

0.0.17

9 months ago

0.0.16

9 months ago

0.0.15

9 months ago

0.0.14

9 months ago

0.0.13

9 months ago

0.0.12

9 months ago

0.0.11

9 months ago

0.0.10

9 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago