From bb557a7dd72e38d3c4b06278ce9591a4adcce0ce Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:21:27 -0600 Subject: [PATCH] feat: use thing --- packages/bot/src/core/localization/strings/index.ts | 2 +- packages/bot/src/main.ts | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/bot/src/core/localization/strings/index.ts b/packages/bot/src/core/localization/strings/index.ts index 58d8288d8..8c3bd645b 100644 --- a/packages/bot/src/core/localization/strings/index.ts +++ b/packages/bot/src/core/localization/strings/index.ts @@ -17,7 +17,7 @@ export const translations = SUPPORTED_LOCALES_DISCORD.reduce< (table, locale) => ({ ...table, [locale]: require( - `../../../../../i18n/strings/${SUPPORTED_LOCALES_DISCORD_MAP_INVERSE[locale]}.json`, + `@blitzkit/i18n/strings/${SUPPORTED_LOCALES_DISCORD_MAP_INVERSE[locale]}.json`, ), }), {}, diff --git a/packages/bot/src/main.ts b/packages/bot/src/main.ts index e1538f01e..bf447527e 100644 --- a/packages/bot/src/main.ts +++ b/packages/bot/src/main.ts @@ -1,10 +1,3 @@ -// import { assertSecret, EventManager } from '@blitzkit/core'; -// import { ActivityType, ShardingManager } from 'discord.js'; -// import { -// discoveredIdsDefinitions, -// tankDefinitions, -// } from './core/blitzkit/nonBlockingPromises'; - import { assertSecret } from '@blitzkit/core'; import { ActivityType, ShardingManager } from 'discord.js'; import { @@ -36,7 +29,6 @@ const interval = setInterval(async () => { let users = 0; for (const [, shard] of shards) { - // wtf is this typing bro??? const guilds = (await shard.fetchClientValue('guilds.cache')) as any; servers += guilds.length;