im tired.

This commit is contained in:
2026-09-07 17:26:53 +08:00
parent 3aff82422e
commit 016585ddf9
26 changed files with 695 additions and 381 deletions
+3 -8
View File
@@ -2,6 +2,7 @@ import 'dotenv/config';
import { CommandClient, Constants, Guild, Member, Message, NullCollection, User } from 'athena-prime';
import commands from './commands';
import database from './database';
import events from './events';
// ----------
@@ -16,14 +17,7 @@ const client: CommandClient = new CommandClient({
Constants.GatewayIntentBits.GuildMessageReactions,
],
largeBotOptimizations: true,
cache: {
users: () => new NullCollection(User),
members: () => new NullCollection(Member),
messages: () => new NullCollection(Message),
guilds: () => new NullCollection(Guild),
},
largeBotOptimizations: true
},
});
@@ -32,4 +26,5 @@ events.forEach((event) => client.registerEvent(event, true));
// ----------
database.init();
client.connect();