更改README,增加提示

This commit is contained in:
Kokomi 2023-03-04 16:12:48 +08:00
parent 29c7700d13
commit 3905e918f2
4 changed files with 127 additions and 93 deletions

View File

@ -1,8 +1,13 @@
# Miao-Yunzai v3 # Miao-Yunzai v3
基于原版云崽v3.0改造,尝试解决登录等问题,尚不可用 基于乐神版[云崽v3.0](https://gitee.com/le-niao/Yunzai-Bot) 改造
在原版的基础上使用icqq登录去除了较为敏感的签到等功能
【尚未完全稳定,暂不建议使用】
项目仅供学习交流使用,严禁用于任何商业用途和非法行为 项目仅供学习交流使用,严禁用于任何商业用途和非法行为
## 使用方法 ## 使用方法
>环境准备: Windows or LinuxNode.js[版本至少v16以上](http://nodejs.cn/download/)[Redis](https://redis.io/docs/getting-started/installation/) >环境准备: Windows or LinuxNode.js[版本至少v16以上](http://nodejs.cn/download/)[Redis](https://redis.io/docs/getting-started/installation/)
@ -27,8 +32,9 @@ node app
``` ```
## 致谢 ## 致谢
| Nickname | Contribution | | Nickname | Contribution |
| :----------------------------------------------------------: | ----------------------------------- | |:-------------------------------------------------------------:|-------------------|
|[GardenHamster](https://github.com/GardenHamster/GenshinPray) | 模拟抽卡背景素材来源 | | [Yunzai v3.0](https://gitee.com/le-niao/Yunzai-Bot) | 乐神的Yunzai-Bot V3 |
|[西风驿站](https://bbs.mihoyo.com/ys/collection/839181) | 角色攻略图来源 | | [GardenHamster](https://github.com/GardenHamster/GenshinPray) | 模拟抽卡背景素材来源 |
|[米游社友人A](https://bbs.mihoyo.com/ys/collection/428421) | 角色突破素材图来源 | | [西风驿站](https://bbs.mihoyo.com/ys/collection/839181) | 角色攻略图来源 |
| [米游社友人A](https://bbs.mihoyo.com/ys/collection/428421) | 角色突破素材图来源 |

View File

@ -29,6 +29,7 @@
"node-fetch": "^3.2.6", "node-fetch": "^3.2.6",
"node-schedule": "^2.1.0", "node-schedule": "^2.1.0",
"node-xlsx": "^0.21.0", "node-xlsx": "^0.21.0",
"oicq": "^2.3.1",
"patch-package": "^6.5.0", "patch-package": "^6.5.0",
"pm2": "^5.2.2", "pm2": "^5.2.2",
"puppeteer": "^13.7.0", "puppeteer": "^13.7.0",

View File

@ -255,9 +255,6 @@ export class update extends plugin {
if (log.length <= 0) return '' if (log.length <= 0) return ''
let end = '' let end = ''
if (!plugin) {
end = '更多详细信息请前往github查看\nhttps://github.com/Le-niao/Yunzai-Bot/commits/main'
}
log = await this.makeForwardMsg(`${plugin || 'Yunzai-Bot'}更新日志,共${line}`, log, end) log = await this.makeForwardMsg(`${plugin || 'Yunzai-Bot'}更新日志,共${line}`, log, end)

View File

@ -2,63 +2,66 @@ lockfileVersion: 5.4
patchedDependencies: null patchedDependencies: null
specifiers: importers:
art-template: ^4.13.2
chalk: ^5.0.1
chokidar: ^3.5.3
eslint: ^8.18.0
eslint-config-standard: ^17.0.0
eslint-plugin-import: ^2.26.0
eslint-plugin-n: ^15.2.3
eslint-plugin-promise: ^6.0.0
express: ^4.18.1
express-art-template: ^1.0.1
https-proxy-agent: 5.0.1
icqq: ^0.0.21
image-size: ^1.0.2
inquirer: ^8.2.4
lodash: ^4.17.21
log4js: ^6.5.2
md5: ^2.3.0
moment: ^2.29.3
node-fetch: ^3.2.6
node-schedule: ^2.1.0
node-xlsx: ^0.21.0
patch-package: ^6.5.0
pm2: ^5.2.2
puppeteer: ^13.7.0
redis: ^4.1.0
yaml: ^2.1.1
dependencies: .:
art-template: 4.13.2 specifiers:
chalk: 5.0.1 art-template: ^4.13.2
chokidar: 3.5.3 chalk: ^5.0.1
https-proxy-agent: 5.0.1 chokidar: ^3.5.3
icqq: registry.npmmirror.com/icqq/0.0.21 eslint: ^8.18.0
image-size: registry.npmmirror.com/image-size/1.0.2 eslint-config-standard: ^17.0.0
inquirer: 8.2.4 eslint-plugin-import: ^2.26.0
lodash: 4.17.21 eslint-plugin-n: ^15.2.3
log4js: 6.5.2 eslint-plugin-promise: ^6.0.0
md5: 2.3.0 express: ^4.18.1
moment: 2.29.3 express-art-template: ^1.0.1
node-fetch: 3.2.6 https-proxy-agent: 5.0.1
node-schedule: 2.1.0 icqq: ^0.0.21
node-xlsx: 0.21.0 image-size: ^1.0.2
patch-package: 6.5.0 inquirer: ^8.2.4
pm2: registry.npmmirror.com/pm2/5.2.2 lodash: ^4.17.21
puppeteer: 13.7.0 log4js: ^6.5.2
redis: 4.1.0 md5: ^2.3.0
yaml: 2.1.1 moment: ^2.29.3
node-fetch: ^3.2.6
devDependencies: node-schedule: ^2.1.0
eslint: 8.18.0 node-xlsx: ^0.21.0
eslint-config-standard: 17.0.0_73zqogbxxwb3ijehtqwxiag47y oicq: ^2.3.1
eslint-plugin-import: 2.26.0_eslint@8.18.0 patch-package: ^6.5.0
eslint-plugin-n: 15.2.3_eslint@8.18.0 pm2: ^5.2.2
eslint-plugin-promise: 6.0.0_eslint@8.18.0 puppeteer: ^13.7.0
express: 4.18.1 redis: ^4.1.0
express-art-template: 1.0.1_art-template@4.13.2 yaml: ^2.1.1
dependencies:
art-template: 4.13.2
chalk: 5.0.1
chokidar: 3.5.3
https-proxy-agent: 5.0.1
icqq: registry.npmmirror.com/icqq/0.0.21
image-size: registry.npmmirror.com/image-size/1.0.2
inquirer: 8.2.4
lodash: 4.17.21
log4js: 6.5.2
md5: 2.3.0
moment: 2.29.3
node-fetch: 3.2.6
node-schedule: 2.1.0
node-xlsx: 0.21.0
oicq: registry.npmmirror.com/oicq/2.3.1
patch-package: 6.5.0
pm2: registry.npmmirror.com/pm2/5.2.2
puppeteer: 13.7.0
redis: 4.1.0
yaml: 2.1.1
devDependencies:
eslint: 8.18.0
eslint-config-standard: 17.0.0_73zqogbxxwb3ijehtqwxiag47y
eslint-plugin-import: 2.26.0_eslint@8.18.0
eslint-plugin-n: 15.2.3_eslint@8.18.0
eslint-plugin-promise: 6.0.0_eslint@8.18.0
express: 4.18.1
express-art-template: 1.0.1_art-template@4.13.2
packages: packages:
@ -169,7 +172,7 @@ packages:
engines: {node: '>=4.0'} engines: {node: '>=4.0'}
dependencies: dependencies:
async: 2.6.4 async: 2.6.4
axios: 0.21.4_debug@4.3.4 axios: registry.npmmirror.com/axios/0.21.4_debug@4.3.4
debug: 4.3.4 debug: 4.3.4
eventemitter2: 6.4.5 eventemitter2: 6.4.5
ws: 7.5.8 ws: 7.5.8
@ -422,14 +425,6 @@ packages:
resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==} resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==}
dev: false dev: false
/axios/0.21.4_debug@4.3.4:
resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}
dependencies:
follow-redirects: 1.15.1_debug@4.3.4
transitivePeerDependencies:
- debug
dev: false
/balanced-match/1.0.2: /balanced-match/1.0.2:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
@ -1387,18 +1382,6 @@ packages:
/flatted/3.2.5: /flatted/3.2.5:
resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==}
/follow-redirects/1.15.1_debug@4.3.4:
resolution: {integrity: sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==}
engines: {node: '>=4.0'}
peerDependencies:
debug: '*'
peerDependenciesMeta:
debug:
optional: true
dependencies:
debug: 4.3.4
dev: false
/formdata-polyfill/4.0.10: /formdata-polyfill/4.0.10:
resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==}
engines: {node: '>=12.20.0'} engines: {node: '>=12.20.0'}
@ -2067,16 +2050,11 @@ packages:
picomatch: 2.3.1 picomatch: 2.3.1
dev: false dev: false
/mime-db/1.52.0:
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
engines: {node: '>= 0.6'}
dev: true
/mime-types/2.1.35: /mime-types/2.1.35:
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
engines: {node: '>= 0.6'} engines: {node: '>= 0.6'}
dependencies: dependencies:
mime-db: 1.52.0 mime-db: registry.npmmirror.com/mime-db/1.52.0
dev: true dev: true
/mime/1.6.0: /mime/1.6.0:
@ -3388,6 +3366,28 @@ packages:
version: 0.4.0 version: 0.4.0
dev: false dev: false
registry.npmmirror.com/axios/0.21.4_debug@4.3.4:
resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/axios/-/axios-0.21.4.tgz}
id: registry.npmmirror.com/axios/0.21.4
name: axios
version: 0.21.4
dependencies:
follow-redirects: registry.npmmirror.com/follow-redirects/1.15.1_debug@4.3.4
transitivePeerDependencies:
- debug
dev: false
registry.npmmirror.com/axios/0.27.2:
resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/axios/-/axios-0.27.2.tgz}
name: axios
version: 0.27.2
dependencies:
follow-redirects: registry.npmmirror.com/follow-redirects/1.15.1
form-data: registry.npmmirror.com/form-data/4.0.0
transitivePeerDependencies:
- debug
dev: false
registry.npmmirror.com/axios/1.3.4: registry.npmmirror.com/axios/1.3.4:
resolution: {integrity: sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/axios/-/axios-1.3.4.tgz} resolution: {integrity: sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/axios/-/axios-1.3.4.tgz}
name: axios name: axios
@ -3499,6 +3499,21 @@ packages:
optional: true optional: true
dev: false dev: false
registry.npmmirror.com/follow-redirects/1.15.1_debug@4.3.4:
resolution: {integrity: sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.1.tgz}
id: registry.npmmirror.com/follow-redirects/1.15.1
name: follow-redirects
version: 1.15.1
engines: {node: '>=4.0'}
peerDependencies:
debug: '*'
peerDependenciesMeta:
debug:
optional: true
dependencies:
debug: 4.3.4
dev: false
registry.npmmirror.com/form-data/4.0.0: registry.npmmirror.com/form-data/4.0.0:
resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz} resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz}
name: form-data name: form-data
@ -3639,7 +3654,6 @@ packages:
name: mime-db name: mime-db
version: 1.52.0 version: 1.52.0
engines: {node: '>= 0.6'} engines: {node: '>= 0.6'}
dev: false
registry.npmmirror.com/mime-types/2.1.35: registry.npmmirror.com/mime-types/2.1.35:
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz} resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz}
@ -3681,6 +3695,22 @@ packages:
- supports-color - supports-color
dev: false dev: false
registry.npmmirror.com/oicq/2.3.1:
resolution: {integrity: sha512-mRw/GgdRKFMylnrlnnywzCIwvad6fF5E4WZfIlval070wEc3w9yMV49i9epFltWkU/JGNMDS4t5wWdZEYzW0EQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/oicq/-/oicq-2.3.1.tgz}
name: oicq
version: 2.3.1
engines: {node: '>= v14'}
dependencies:
axios: registry.npmmirror.com/axios/0.27.2
log4js: registry.npmmirror.com/log4js/6.5.2
long: registry.npmmirror.com/long/4.0.0
pngjs: registry.npmmirror.com/pngjs/6.0.0
probe-image-size: registry.npmmirror.com/probe-image-size/7.2.3
transitivePeerDependencies:
- debug
- supports-color
dev: false
registry.npmmirror.com/pm2-sysmonit/1.2.8: registry.npmmirror.com/pm2-sysmonit/1.2.8:
resolution: {integrity: sha512-ACOhlONEXdCTVwKieBIQLSi2tQZ8eKinhcr9JpZSUAL8Qy0ajIgRtsLxG/lwPOW3JEKqPyw/UaHmTWhUzpP4kA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/pm2-sysmonit/-/pm2-sysmonit-1.2.8.tgz} resolution: {integrity: sha512-ACOhlONEXdCTVwKieBIQLSi2tQZ8eKinhcr9JpZSUAL8Qy0ajIgRtsLxG/lwPOW3JEKqPyw/UaHmTWhUzpP4kA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/pm2-sysmonit/-/pm2-sysmonit-1.2.8.tgz}
name: pm2-sysmonit name: pm2-sysmonit