blob: 8da37837a2044e0f53013d0f98fdd5233020bc0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { syncDB } from './utils/sync.js';
import { apiServer } from './api/server.js';
import { event } from './handlers/event.js';
import { command } from './handlers/command.js';
//import { deployCommands } from './util/deploy.js';
export async function init(client) {
await syncDB();
//deployCommands().then(() => console.log('[>] Deployed commands'));
await apiServer(client);
await event(client).then(() => console.log('[>] Event module loaded'));
await command(client).then(() => console.log('[>] Command module loaded'));
}
|