修番茄小说功能

This commit is contained in:
Jerry 2025-05-24 20:23:50 +08:00
parent d075448e75
commit 519bfc4d40

View File

@ -166,8 +166,8 @@ export default class xzq extends plugin {
if (!e.isMaster) {
const allowGroup = e.isGroup ? await redis.get(`fqxzq:g:${e.group_id}`) : null;
const allowUser = await redis.get(`fqxzq:u:${e.user_id}`);
return e.reply(`暂未开放下载功能,请等待功能更新..`, true);
//if (!allowGroup && !allowUser) return false;
//return e.reply(`暂未开放下载功能,请等待功能更新..`, true);
if (!allowGroup && !allowUser) return false;
}
e.reply('开始下载,请稍等', true);