- 👨🏻🎓A Chinese Student
- 🐠Goofing off~
- 🐤Just a Rookie
- 🤖Developing a Information query pictures of Genshin Impact
- Genshin Impact
- ...
Yunzai-Bot V3 的插件包,主要提供各式各样的定时任务功能
License: Mulan Permissive Software License, Version 2
例如定时触发#喵喵图像更新 #图鉴更新 #全部签到 等
自动更新群名片模块,有些模块例如微博热搜不想要,直接删除文件后台会报错,请问应该怎么操作只保留需要的模块。
麻烦大佬看一下
0|Yunzai-Bot | [YzBot][23:53:58.224][MARK] [自动化插件_指令表][autoJobs][私聊][开朗的网友()] #任务表
0|Yunzai-Bot | [YzBot][23:53:58.225][ERRO] [自动化插件_指令表][autoJobs]
0|Yunzai-Bot | [YzBot][23:53:58.226][ERRO] TypeError: Cannot read properties of null (reading 'nextInvocation')
0|Yunzai-Bot | at file:///root/Yunzai-Bot/plugins/auto-plugin/app/autoCommandHelp.js:72:27
0|Yunzai-Bot | at Array.forEach ()
0|Yunzai-Bot | at autoCommandHelp.autoJobs (file:///root/Yunzai-Bot/plugins/auto-plugin/app/autoCommandHelp.js:71:17)
0|Yunzai-Bot | at PluginsLoader.deal (file:///root/Yunzai-Bot/lib/plugins/loader.js:273:55)
0|Yunzai-Bot | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
具体来说就是,希望能不要每次都一秒内把所有群聊的群名片都改了,可以分配到一分钟的几个时间点。
比如我有三个群,cron表达式0/7 0/4 * * * ? *对应执行时间
2023-02-27 14:36:00
2023-02-27 14:36:07
2023-02-27 14:36:14
2023-02-27 14:36:21
2023-02-27 14:36:28
就希望能第一次更新第一个群,第二次更新第二个群,第三次更新第三个群,第四次更新第一个群这样。
一秒内全部群名片都更新怕QQ犯贱。
就是一键去掉小尾巴
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Response.json (file:///root/Yunzai-Bot/node_modules/.pnpm/[email protected]/node_modules/node-fetch/src/body.js:148:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async answer (file:///root/Yunzai-Bot/plugins/hs-qiqi-plugin/apps/ai.js:406:9)
自动化插件所有指令都会报这个
比如每(20分钟固定时间+(600秒~900秒)更新?
我这样改的话报错了无法加载
import os from "os";
import setting from "../setting.js";
/*
脑负荷:${Cpu}% 脑容量:${Memory}%
比如我需要机器人每天的某个时间为我执行 #xx签到 之类的指令(就像是我每天在那个时间给机器人发了 #xx签到 一样),有什么方法可以做到吗?
请问有办法在微信使用吗
请问大佬们如何只要定时重启,不更新全部插件
我的情况是,梯子不能一直开(卡客户端数故定时了),他每日更涉及github的更新就全报错,有点担心太多插件之间不一起更新,导致冲突报错。
[21:48:39][mark] [Guoba] 端口号 50831 已被占用,正在进行第 1 次重试…
[21:48:42][error] [object Object]
[21:48:48][mark] [Guoba] 端口号 50831 已被占用,正在进行第 2 次重试…
[21:48:57][mark] [Guoba] 端口号 50831 已被占用,正在进行第 3 次重试…
[21:49:06][error] [Guoba] 启动失败,端口号 50831 被占用,请尝试关闭该端口或更换锅巴的端口号
安装完插件并且启动云崽时,后台先是提示锅巴的端口被占用,然后就是错误日志刷屏。删除插件后,云崽能正常使用。
目前不少云崽(比如喵喵云崽)已经把登录问题频出的oicq换成了icqq,我也跟着更了。
似乎是在换成icqq后无法更新群名片了。我稍微修改了下原代码来排差原因,最终确认是autoGroupName的setGroupCard函数出了问题,通过日志可以观察到BOT认为自己已经更改群名片,但是实际没有。具体查证/日志如下:
如图所示,为了确认问题所在做了一点更改,不会影响插件正常工作。下图是日志。
仔细观察日志的这个部分(见下图),可以发现BOT认为当前群名片是不吃头发的爱丽丝|当前系统活力43.30%
,然后尝试更改为不吃头发的爱丽丝|当前系统活力42.64%
但是实际上QQ群里看到的群名片始终没有改变,如下图。
希望修复
如题
星铁版本周期发生变更,倒计时异常...
群友使用这一功能会返回你没有权限,读过readme并在仓库内搜索过权限相关内容,没有找到配置权限的地方,请问该如何处理?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.