This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package wtf.beatrice.hidekobot.objects.fun;
|
||||
|
||||
public record TriviaCategory(String categoryName, int categoryId) {
|
||||
public record TriviaCategory(String categoryName, int categoryId)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package wtf.beatrice.hidekobot.objects.fun;
|
||||
import java.util.List;
|
||||
|
||||
public record TriviaQuestion(String question, String correctAnswer,
|
||||
List<String> wrongAnswers) {
|
||||
List<String> wrongAnswers)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -18,9 +18,15 @@ public class TriviaScore
|
||||
score += add;
|
||||
}
|
||||
|
||||
public int getScore() { return score; }
|
||||
public int getScore()
|
||||
{
|
||||
return score;
|
||||
}
|
||||
|
||||
public User getUser() { return user; }
|
||||
public User getUser()
|
||||
{
|
||||
return user;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
|
||||
Reference in New Issue
Block a user