redis onoff만들어서 쓸때만 .env에 on하기

This commit is contained in:
tkrmagid-desktop
2026-04-26 20:23:17 +09:00
parent 3864b5d082
commit 04044650d0
7 changed files with 28 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ process.on('SIGTERM', () => {
export const client = new BotClient();
export const lavalinkManager = new LavalinkManager(client);
export const handler = new Handler();
export const Redis = new RedisClient();
export const Redis = RedisClient();
for (const eventName of Object.keys(onEvents) as (keyof typeof onEvents)[]) {
client.onEvent(eventName, onEvents[eventName]);