From 7c81d45c23db1b6011bf9d5fcf40d8b92c38b2ba Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 6 Oct 2025 20:33:04 -0700 Subject: refactor(gateway): Replace uses of old GUILD_ID constant --- packages/gateway/src/commands/utilities.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/gateway/src/commands/utilities.ts') diff --git a/packages/gateway/src/commands/utilities.ts b/packages/gateway/src/commands/utilities.ts index fd3b84d..19f9e90 100644 --- a/packages/gateway/src/commands/utilities.ts +++ b/packages/gateway/src/commands/utilities.ts @@ -1,5 +1,5 @@ import { Client, ChannelType } from "discord.js"; -import { GUILD_ID } from "../constants"; +import { CENTRAL_GUILD_ID } from "../constants"; export const AUDIT_LOG_GUILD_ID = "1419211292396224575"; export const AUDIT_LOG_CHANNEL_ID = "1419211778793144411"; @@ -408,7 +408,7 @@ export const getAllChannelsInCategory = async ( client: Client, categoryId: string, ): Promise<{ channels: string[]; channelNames: { [key: string]: string } }> => { - const guild = client.guilds.cache.get(GUILD_ID); + const guild = client.guilds.cache.get(CENTRAL_GUILD_ID); if (!guild) return { channels: [], channelNames: {} }; @@ -483,7 +483,7 @@ export const executeBulkRoleAssignment = async ( categoryId?: string, ): Promise => { try { - const guild = client.guilds.cache.get(GUILD_ID); + const guild = client.guilds.cache.get(CENTRAL_GUILD_ID); if (!guild) { await sendProgressUpdate( -- cgit v1.2.3