Implement persistance for limboMode boolean

This commit is contained in:
2026-08-22 19:10:38 -04:00
parent 62e8465a94
commit e0fb166dd2
3 changed files with 12 additions and 11 deletions
+4 -2
View File
@@ -1,15 +1,17 @@
import { Client, Events, GatewayIntentBits } from 'discord.js';
import RoleService from './services/role';
import CommandService from './services/command';
import DataService from './services/data';
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});
client.once(Events.ClientReady, async (readyClient) => {
// Initialize & validate
// Initialize services
await DataService.init();
await CommandService.init();
RoleService.validate(client.guilds.cache);
await RoleService.init(client.guilds.cache);
// Ready!
console.log(`Ready! Logged in as ${readyClient.user.tag}`);