refactor: clean up unused imports and dead code across commands, services, and tests.

This commit is contained in:
syntaxbullet
2025-12-24 11:02:13 +01:00
parent f39ccee0d3
commit 1189483244
21 changed files with 16 additions and 26 deletions

View File

@@ -15,8 +15,6 @@ const event: Event<Events.MessageCreate> = {
levelingService.processChatXp(message.author.id);
// Activity Tracking for Lootdrops
// We do dynamic import to avoid circular dependency issues if any, though likely not needed here.
// But better safe for modules. Actually direct import is fine if structure is clean.
import("@/modules/economy/lootdrop.service").then(m => m.lootdropService.processMessage(message));
},
};

View File

@@ -32,7 +32,6 @@ const event: Event<Events.ClientReady> = {
const execAsync = promisify(exec);
// Send intermediate update if possible, though ready event should be fast.
// Maybe just run it and report result.
const { stdout: dbOut } = await execAsync("bun run db:push:local");
migrationOutput = dbOut;
} catch (dbErr: any) {