军团:退出冷却暂时删除
This commit is contained in:
@@ -25,6 +25,8 @@ import { pushGuildNoticeUpdateMsg, pushGuildUpStructureMsg, addRoleToGuildChanne
|
||||
import { Rank } from '../../../services/rankService';
|
||||
import { checkTask } from '../../../services/taskService';
|
||||
import { guildInter } from '../../../pubUtils/interface';
|
||||
import * as dicParam from '../../../pubUtils/dicParam';
|
||||
|
||||
export default function (app: Application) {
|
||||
new HandlerService(app, {});
|
||||
return new GuildHandler(app);
|
||||
@@ -292,9 +294,9 @@ export class GuildHandler {
|
||||
return resResult(STATUS.GUILD_NOT_REACH_CONDI);
|
||||
}
|
||||
// TODO 暂时关闭
|
||||
if(nowSeconds() - role.quitGuildTime < 3600) { // TODO 时间系统参数表配置
|
||||
return resResult(STATUS.GUILD_QUIT_TIME);
|
||||
}
|
||||
// if(nowSeconds() - role.quitGuildTime < dicParam.ARMY.ARMY_JOIN_COOLDOWNTIME * 60) {
|
||||
// return resResult(STATUS.GUILD_QUIT_TIME);
|
||||
// }
|
||||
|
||||
let hasGuild = false;
|
||||
if (isAuto) { // 自动加入
|
||||
|
||||
Reference in New Issue
Block a user