diff --git a/src/main/java/linux/general/hackyquizbot/Main.java b/src/main/java/linux/general/hackyquizbot/Main.java index 3579aad..c454954 100644 --- a/src/main/java/linux/general/hackyquizbot/Main.java +++ b/src/main/java/linux/general/hackyquizbot/Main.java @@ -10,16 +10,12 @@ public class Main{ public static void main(String[] args) { // Insert your bot's token here - //String token = args[0]; + String token = args[0]; - CheckDeploy check = new CheckDeploy(3000, "/home/milan/test.txt"); + CheckDeploy check = new CheckDeploy(3000, "Enter Filename Here"); check.start(); - while(true) { - System.out.println("Woo!"); - } - /* DiscordApi api = new DiscordApiBuilder().setToken(token).login().join(); // Add a listener which answers with "Pong!" if someone writes "!ping" @@ -31,7 +27,7 @@ public class Main{ // Print the invite url of your bot System.out.println("You can invite the bot by using the following url: " + api.createBotInvite()); - */ + } public static class CheckDeploy extends Thread{