feat: use thing

This commit is contained in:
tresabhi committed 2025-01-15 14:21:27 -06:00
1 parent f1612e8fe3
commit bb557a7dd7
2 files changed
+1 -9

No files matched your search

@@ -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`,
),
}),
{},
-8
View File
@@ -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;