Forgot to register command
This commit is contained in:
parent
edae155934
commit
990eba4bff
@ -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));
|
||||||
|
Reference in New Issue
Block a user