✨ feat(gvg): 添加推送
This commit is contained in:
+3
-2
@@ -207,9 +207,9 @@ async function treatStartLogic(app: _pinus.Application) {
|
||||
setGVGServerGroup();
|
||||
}
|
||||
if(app.getServerType() == 'guild') {
|
||||
setGVGConfig();
|
||||
|
||||
app.event.on('start_all', () => {
|
||||
initTeamToMem();
|
||||
setGVGConfig().then(initTeamToMem);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -218,6 +218,7 @@ async function treatStartLogic(app: _pinus.Application) {
|
||||
redisService.readDataBase();
|
||||
redisService.clearComBtlQueue();
|
||||
redisService.clearChannelServers();
|
||||
redisService.clearGVGHistoryAreas();
|
||||
updateTeamStatus(COM_TEAM_STATUS.DEFAULT, COM_TEAM_STATUS.LOOSE);
|
||||
updateTeamStatus(COM_TEAM_STATUS.FIGHTING, COM_TEAM_STATUS.LOOSE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user