0.0.27 • Published 9 months ago

irovabot v0.0.27

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

9 months ago

0.0.26

9 months ago

0.0.25

9 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

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago