Skip to content

Commit 8a9fc4c

Browse files
committed
refactor: update index.ts to accomodate barrel exports and utils
1 parent 8f6ddba commit 8a9fc4c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { ActivityType, Client, GatewayIntentBits } from 'discord.js';
2+
import { commands } from './commands/index.js';
23
import { config } from './env.js';
3-
import { commands, events, registerCommands, registerEvents } from './util/loaders.js';
4+
import { events } from './events/index.js';
5+
import { registerCommands } from './util/commands.js';
6+
import { registerEvents } from './util/events.js';
47

58
// Create a new client instance
69
const client = new Client({

0 commit comments

Comments
 (0)