Skip to content

基于KazuhaBot的独立项目,用于推送米游社所有游戏社区的公告

License

Notifications You must be signed in to change notification settings

rainbowwarmth/KazuhaBot_Newmys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KazuhaBot_NewMys

KazuhaBot_NewMys

KazuhaBot_NewMys

使用方法

环境准备: Windows or Linux,Node.js( 版本至少v16以上 ), Redis

KazuhaBot对比

  • 本项目仅保留了公告推送内容,更加简洁高效。

1.克隆项目

选择适合的目录,使用下面的方法进行安装(二选一)

git clone --depth=1 https://github.com/rainbowwarmth/KazuhaBot_Newmys.git

如果GitHub连不上请使用Gitee镜像

git clone --depth=1 https://gitee.com/rainbowwarmth/KazuhaBot_Newmys.git

或使用ssh(注意:使用该指令必须将SSH keys添加到GitHub中)

git clone --depth=1 [email protected]:rainbowwarmth/KazuhaBot_Newmys.git

2.安装依赖

直接安装

npm i

3.修改设置文件

  • 重命名config文件夹中的config.example.json为config.json,并更改其中的APP_ID和APP_TOKEN为机器人对应ID与TOKEN

4.启动项目

  • 确保redis数据库启动成功
  • 在主目录下使用指令npm start开始启动

命令列表

1.公告资讯

  • (公告|资讯)+游戏别名+[1-9]
  • (公告|资讯)+游戏别名+列表
  • (开启|关闭)+公告+游戏别名+推送

2.帮助和提交日志以及版本

  • help
  • 版本
  • 提交日志

以上命令需要加入#字符或/字符前缀

致谢

名称 介绍
KazuhaBot 飞龙大佬的KazuhaBot

其他

  • 项目仅供学习交流使用,严禁用于任何商业用途和非法行为
  • MIT 许可证

About

基于KazuhaBot的独立项目,用于推送米游社所有游戏社区的公告

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published