Skip to content

Commit

Permalink
Enable /stats command even if daily update is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemKolodko committed Oct 27, 2023
1 parent ac31a5b commit 9661eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/schedule/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> {
Expand Down

0 comments on commit 9661eca

Please sign in to comment.