diff options
Diffstat (limited to 'packages/gateway/src/commands/utilities.ts')
| -rw-r--r-- | packages/gateway/src/commands/utilities.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<void> => { try { - const guild = client.guilds.cache.get(GUILD_ID); + const guild = client.guilds.cache.get(CENTRAL_GUILD_ID); if (!guild) { await sendProgressUpdate( |