forked from chipmunkmc/chipmunkbot
actually "register" it
i forgor and out of laziness i am using the gitea website to commit so yes
This commit is contained in:
parent
7016057399
commit
8765053530
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ import lombok.Setter;
|
||||||
public class CommandManager {
|
public class CommandManager {
|
||||||
private ChipmunkBot client;
|
private ChipmunkBot client;
|
||||||
@Getter @Setter private CommandDispatcher<CommandSource> dispatcher = new CommandDispatcher<>();
|
@Getter @Setter private CommandDispatcher<CommandSource> dispatcher = new CommandDispatcher<>();
|
||||||
private final Command[] commands = {new TestCommand(), new HelpCommand(), new RunCommand()};
|
private final Command[] commands = {new TestCommand(), new HelpCommand(), new RunCommand(), new EchoCommand()};
|
||||||
|
|
||||||
static {
|
static {
|
||||||
// ? Is messing with static properties a good idea?
|
// ? Is messing with static properties a good idea?
|
||||||
|
|
Loading…
Reference in a new issue