From 454b18d7807a123936691eb8c0e6cab6999ac870 Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Fri, 29 Jul 2022 13:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BE=A4=E8=81=8A=E8=AF=B4?= =?UTF-8?q?=E6=98=8E~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + apps/sign.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c65481..0c763aa 100644 --- a/README.md +++ b/README.md @@ -69,3 +69,4 @@ cnpm i promise-retry - 严禁用于任何商业用途和非法行为 - Yunzai-Bot 官方QQ群:213938015 (暂时停止新加入) - 喵喵Miao-Plugin QQ群:607710456 (暂时停止新加入) +- 图鉴xiaoyao-cvs-Plugin QQ群:[544570609](https://jq.qq.com/?_wv=1027&k=GOHommWT) diff --git a/apps/sign.js b/apps/sign.js index bb9ebd2..dca9d95 100644 --- a/apps/sign.js +++ b/apps/sign.js @@ -11,7 +11,6 @@ import { isV3 } from '../components/Changelog.js'; import gsCfg from '../model/gsCfg.js' -import { fileFrom } from "node-fetch"; export const rule = { mysSign: { reg: "^#*(米游社|mys|社区)(原神|崩坏3|崩坏2|未定事件簿|大别野|崩坏星穹铁道|绝区零|全部)签到$", @@ -45,6 +44,7 @@ export async function sign(e) { let resultMessage=""; let msg = e.msg.replace(/#|签到|井|米游社|mys|社区/g, ""); let ForumData = await getDataList(msg); + e.reply(`开始尝试${msg}社区签到`) for (let forum of ForumData) { resultMessage += `**${forum.name}**\n` try { @@ -79,11 +79,13 @@ export async function mysSign(e) { e.reply("未读取到stoken请尝试重新登录获取cookies") return true; } + START = moment().unix(); let resultMessage=""; // Execute task let msg = e.msg.replace(/#|签到|井|米游社|mys|社区/g, ""); let ForumData = await getDataList(msg); + e.reply(`开始尝试${msg}社区签到`) for (let forum of ForumData) { resultMessage += `\n**${forum.name}**\n` try {