This commit is contained in:
@@ -19,7 +19,7 @@ public class MagicBall
|
||||
return new LinkedList<>(Arrays.asList("8ball", "8b", "eightball", "magicball"));
|
||||
}
|
||||
|
||||
private final static List<String> answers = new ArrayList<>(
|
||||
private static final List<String> answers = new ArrayList<>(
|
||||
Arrays.asList("It is certain.",
|
||||
"It is decidedly so.",
|
||||
"Without a doubt.",
|
||||
|
@@ -34,8 +34,8 @@ import java.util.concurrent.TimeUnit;
|
||||
|
||||
public class Trivia
|
||||
{
|
||||
private final static String triviaLink = "https://opentdb.com/api.php?amount=10&type=multiple&category=";
|
||||
private final static String categoriesLink = "https://opentdb.com/api_category.php";
|
||||
private static final String triviaLink = "https://opentdb.com/api.php?amount=10&type=multiple&category=";
|
||||
private static final String categoriesLink = "https://opentdb.com/api_category.php";
|
||||
|
||||
public static List<String> channelsRunningTrivia = new ArrayList<>();
|
||||
|
||||
|
@@ -27,8 +27,8 @@ import java.util.concurrent.TimeUnit;
|
||||
public class UserPunishment
|
||||
{
|
||||
|
||||
private final static Duration maxTimeoutDuration = Duration.of(28, ChronoUnit.DAYS);
|
||||
private final static Duration minTimeoutDuration = Duration.of(30, ChronoUnit.SECONDS);
|
||||
private static final Duration maxTimeoutDuration = Duration.of(28, ChronoUnit.DAYS);
|
||||
private static final Duration minTimeoutDuration = Duration.of(30, ChronoUnit.SECONDS);
|
||||
|
||||
public static void handle(SlashCommandInteractionEvent event, PunishmentType punishmentType)
|
||||
{
|
||||
|
Reference in New Issue
Block a user