feat: Implement a generic user timers system with a scheduler to manage cooldowns, effects, and access.

This commit is contained in:
syntaxbullet
2025-12-13 14:18:46 +01:00
parent b33738aee3
commit d34e872133
6 changed files with 194 additions and 30 deletions

View File

@@ -9,8 +9,11 @@ import { createErrorEmbed } from "@lib/embeds";
await KyokoClient.loadCommands();
await KyokoClient.deployCommands();
import { schedulerService } from "@/modules/system/scheduler";
KyokoClient.once(Events.ClientReady, async c => {
console.log(`Ready! Logged in as ${c.user.tag}`);
schedulerService.start();
});
// process xp on message