From a97424041cfa859e94fb41ba1f531e61d4ef0964 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Mon, 21 Feb 2022 12:48:26 +0100 Subject: [PATCH] hack: force load QuizBackend --- src/main/java/linux/general/hackyquizbot/Main.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/linux/general/hackyquizbot/Main.java b/src/main/java/linux/general/hackyquizbot/Main.java index b49a803..a5b6466 100644 --- a/src/main/java/linux/general/hackyquizbot/Main.java +++ b/src/main/java/linux/general/hackyquizbot/Main.java @@ -19,6 +19,9 @@ public class Main { // checks every 7500 ms if a deployment happened, if so shuts down the bot CheckDeploy check = new CheckDeploy(7500, "/var/www/deployment/Hacky-Quizbot/id.txt"); check.start(); + + //TODO: remove, this is just a way to force loading of the QuizBackend class while it isn’t being loaded automatically + QuizBackend backend = new QuizBackend(); DiscordApi api = new DiscordApiBuilder().setToken(commandLineArguments[0]).login().join();