mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 14:19:19 +00:00
修番茄小说功能
This commit is contained in:
parent
d075448e75
commit
519bfc4d40
@ -166,8 +166,8 @@ export default class xzq extends plugin {
|
|||||||
if (!e.isMaster) {
|
if (!e.isMaster) {
|
||||||
const allowGroup = e.isGroup ? await redis.get(`fqxzq:g:${e.group_id}`) : null;
|
const allowGroup = e.isGroup ? await redis.get(`fqxzq:g:${e.group_id}`) : null;
|
||||||
const allowUser = await redis.get(`fqxzq:u:${e.user_id}`);
|
const allowUser = await redis.get(`fqxzq:u:${e.user_id}`);
|
||||||
return e.reply(`暂未开放下载功能,请等待功能更新..`, true);
|
//return e.reply(`暂未开放下载功能,请等待功能更新..`, true);
|
||||||
//if (!allowGroup && !allowUser) return false;
|
if (!allowGroup && !allowUser) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
e.reply('开始下载,请稍等', true);
|
e.reply('开始下载,请稍等', true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user