지금까지 내용 커밋

This commit is contained in:
2026-04-08 12:59:45 +09:00
commit b0dae31cb9
68 changed files with 12083 additions and 0 deletions

16
bot/src/index.ts Normal file
View File

@@ -0,0 +1,16 @@
import { BotClient } from "./classes/BotClient";
import { LavalinkManager } from "./classes/LavalinkManager";
import { Handler } from "./classes/Handler";
import { onEvents } from "./events";
import { RedisClient } from "./classes/RedisClient";
export const client = new BotClient();
export const lavalinkManager = new LavalinkManager(client);
export const handler = new Handler();
export const Redis = new RedisClient();
for (const eventName of Object.keys(onEvents) as (keyof typeof onEvents)[]) {
client.onEvent(eventName, onEvents[eventName]);
}
client.start();