移除apps插件非必要return false,拦截指令向后传递 #138

This commit is contained in:
UCPr 2025-09-09 03:30:27 +08:00
parent 3273f256fc
commit 9d676fa70a
17 changed files with 82 additions and 173 deletions

View file

@ -32,8 +32,7 @@ export class deadly extends ZZZPlugin {
throw e;
});
if (!deadlyData?.has_data) {
await this.reply('没有危局强袭战数据');
return false;
return this.reply('没有危局强袭战数据');
}
const deadly = new Deadly(deadlyData);
const timer = setTimeout(() => {