✨ feat(pvp): 巅峰演武战区化
This commit is contained in:
@@ -8,7 +8,7 @@ import { checkTask } from '../../../services/task/taskService';
|
||||
import { RoleModel } from '../../../db/Role';
|
||||
import { getFriendRelationType } from '../../../services/friendService';
|
||||
import { GVGLeagueModel } from '../../../db/GVGLeague';
|
||||
import { getGroupIdOfServer } from '../../../services/gvg/gvgService';
|
||||
import { getGVGGroupIdOfServer } from '../../../services/serverService';
|
||||
import { getGuildCodeString } from '../../../services/gvg/gvgRecService';
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ export class ChatHandler {
|
||||
if (channel === CHANNEL_PREFIX.WORLD) channelId = `${serverId}`;
|
||||
if (channel === CHANNEL_PREFIX.GUILD) channelId = guildCode;
|
||||
if (channel === CHANNEL_PREFIX.GVG) {
|
||||
let groupId = await getGroupIdOfServer(serverId);
|
||||
let groupId = await getGVGGroupIdOfServer(serverId);
|
||||
channelId = `${groupId}`;
|
||||
}
|
||||
if (channel == CHANNEL_PREFIX.LEAGUE) {
|
||||
|
||||
Reference in New Issue
Block a user