Forgot to register command

This commit is contained in:
Mark Vainomaa 2016-10-11 15:14:17 +03:00
parent edae155934
commit 990eba4bff

View File

@ -1,6 +1,7 @@
package eu.mikroskeem.bot.maerahn; package eu.mikroskeem.bot.maerahn;
import eu.mikroskeem.bot.maerahn.commands.AlwaysCommand; import eu.mikroskeem.bot.maerahn.commands.AlwaysCommand;
import eu.mikroskeem.bot.maerahn.commands.InsultCommand;
import eu.mikroskeem.bot.maerahn.commands.LennyCommand; import eu.mikroskeem.bot.maerahn.commands.LennyCommand;
import eu.mikroskeem.bot.maerahn.commands.ShrugCommand; import eu.mikroskeem.bot.maerahn.commands.ShrugCommand;
import lombok.Getter; import lombok.Getter;
@ -21,6 +22,7 @@ public class Bot extends TelegramLongPollingCommandBot {
register(new ShrugCommand(this)); register(new ShrugCommand(this));
register(new LennyCommand(this)); register(new LennyCommand(this));
register(new AlwaysCommand(this)); register(new AlwaysCommand(this));
register(new InsultCommand(this));
registerDefaultAction((sender, message)->{ registerDefaultAction((sender, message)->{
logger.info(Utils.logMessage(message)); logger.info(Utils.logMessage(message));