@@ -0,0 +1,677 @@
+import sx.blah.discord.api.IDiscordClient;%0A%0A// Basically a HelloWorld Bot.%0A// NOTE: When using Gradle, refresh/restart workspace to update dependencies%0A%0Apublic class Brain %7B%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09%0A%09%09if (!(args.length %3E= 1)) %7B%0A%09%09%09System.out.println(%22Please pass the TOKEN as the first argument.%22);%0A%09%09%09System.out.println(%22# java -jar SimpleResponder.jar TOKEN%22);%0A%09%09%09System.exit(0);%0A%09%09%7D%0A%09%09%0A%09%09// Gets token from arguments%0A%09%09String token = args%5B0%5D;%0A%09%09%0A%09%09IDiscordClient cli = BotUtils.getBuiltDiscordClient(token);%0A%09%09%0A%09%09cli.getDispatcher().registerListener(new CommandHandler());%0A%09%09%0A%09%09// Only login after all event registering is done%0A%09%09cli.login();%0A%09%09%0A%09%7D%0A%0A%7D%0A

Create Brain.java