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

8 months ago

0.0.23

8 months ago

0.0.22

8 months ago

0.0.21

8 months ago

0.0.20

8 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago