diff options
| author | Fuwn <[email protected]> | 2025-10-06 20:33:04 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-10-06 20:33:09 -0700 |
| commit | 7c81d45c23db1b6011bf9d5fcf40d8b92c38b2ba (patch) | |
| tree | fc693701d07c0e7856097c7ec5b48662d612608d /packages/gateway/src/commands/utilities.ts | |
| parent | refactor(gateway): Move magic IDs to shared constants (diff) | |
| download | umabotdiscord-7c81d45c23db1b6011bf9d5fcf40d8b92c38b2ba.tar.xz umabotdiscord-7c81d45c23db1b6011bf9d5fcf40d8b92c38b2ba.zip | |
refactor(gateway): Replace uses of old GUILD_ID constant
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( |