redis onoff만들어서 쓸때만 .env에 on하기
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user