hack: force load QuizBackend
parent
9f4421f448
commit
a97424041c
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue