bra1n/judgebot

View on GitHub
modules/mtr.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function find has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  find(parameter: string): EmbedBuilder {
    if (parameter.indexOf("-") !== -1 || parameter.indexOf(".") !== -1) {
      // looks like a section query
      const section = this.mtrData.sections[parameter];
      if (section) {
Severity: Minor
Found in modules/mtr.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status