Skip to content

Commit

Permalink
Removed manual command binding, fixes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Vogel612 committed Feb 3, 2015
1 parent fd4f6af commit e820151
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/de/vogel612/testclient_javabot/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.gmail.inverseconduit.BotConfig;
import com.gmail.inverseconduit.bot.Program;
import com.gmail.inverseconduit.chat.ChatInterface;
import com.gmail.inverseconduit.commands.sets.CoreBotCommands;
import com.gmail.inverseconduit.security.ScriptSecurityManager;
import com.gmail.inverseconduit.security.ScriptSecurityPolicy;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
Expand Down Expand Up @@ -93,8 +92,6 @@ public void start(Stage primaryStage) throws Exception {

Program program = new Program(chatInterface);

//FIXME: Remove after merge of #41, because it's no more needed
new CoreBotCommands(chatInterface, program.getBot()).allCommands().forEach(program.getBot()::subscribe);
// Used to shut down the executor when the window is closed
primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>() {

Expand Down

0 comments on commit e820151

Please sign in to comment.