src/bot/commands/command-list/help.ts
Function run
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async run({ bodyText, roomData }: CommandOptions) {
if (this.chatApi.getCommandRoomName() === roomData.alias) {
if (!this.chatApi.isMaster()) {
logger.warn('Skip operation for not master bot');