hack: force load QuizBackend

master
BodgeMaster 2022-02-21 12:48:26 +01:00
parent 9f4421f448
commit a97424041c
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ public class Main {
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 isnt being loaded automatically
QuizBackend backend = new QuizBackend();
DiscordApi api = new DiscordApiBuilder().setToken(commandLineArguments[0]).login().join();
//Trivia management