mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
更新群聊说明~
This commit is contained in:
parent
c5b888f322
commit
454b18d780
@ -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)
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user