mirror of
https://github.com/nx-bat/pet-the-pond.git
synced 2026-09-22 10:29:11 -04:00
im tired.
This commit is contained in:
+3
-8
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user