From 9661eca32ad81886fb6d84b588c4e83e7e76926f Mon Sep 17 00:00:00 2001 From: artemkolodko Date: Fri, 27 Oct 2023 21:14:42 +0100 Subject: [PATCH] Enable /stats command even if daily update is disabled --- src/modules/schedule/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/schedule/index.ts b/src/modules/schedule/index.ts index 0de033e7..0b50bddc 100644 --- a/src/modules/schedule/index.ts +++ b/src/modules/schedule/index.ts @@ -73,7 +73,7 @@ export class BotSchedule { } public isSupportedEvent (ctx: OnMessageContext): boolean { - return config.schedule.isEnabled && ctx.hasCommand(Object.values(SupportedCommands)) + return ctx.hasCommand(Object.values(SupportedCommands)) } public async getBotFeeReport (address: string): Promise {