Battle-Cattle/BCUK-Bot-3

View on GitHub
src/main/java/com/expiredminotaur/bcukbot/fun/trivia/TriviaGame.java

Summary

Maintainability
A
35 mins
Test Coverage

Method correctAnswerPost has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    private void correctAnswerPost(MessageChannel channel, Questions.Question question, ReactionEmoji.Unicode emoji, String answer, List<User> correct)
Severity: Minor
Found in src/main/java/com/expiredminotaur/bcukbot/fun/trivia/TriviaGame.java - About 35 mins to fix

'+' should be on a new line.
Open

                Emoji.C.getRaw() + parseText(answers.get(2)) + "\n" +

'+' should be on a new line.
Open

        String s = Emoji.A.getRaw() + parseText(answers.get(0)) + "\n" +

'+' should be on a new line.
Open

                Emoji.B.getRaw() + parseText(answers.get(1)) + "\n" +

'+' should be on a new line.
Open

        String s = Emoji.TRUE.getRaw() + "True" + "\n" +

There are no issues that match your filters.

Category
Status