diff --git a/src/main/java/de/gnmyt/autoresponder/SimpleAutoResponder.java b/src/main/java/de/gnmyt/autoresponder/SimpleAutoResponder.java index 58068c3..53adbe0 100644 --- a/src/main/java/de/gnmyt/autoresponder/SimpleAutoResponder.java +++ b/src/main/java/de/gnmyt/autoresponder/SimpleAutoResponder.java @@ -83,6 +83,7 @@ public class SimpleAutoResponder { public SimpleAutoResponder registerCommand(ResponderCommand... commands) { for (ResponderCommand command : commands) { if (command.getClass().isAnnotationPresent(CommandInfo.class)) { + command.usage(); this.commands.add(command); } else { LOG.error("Could not register command {}. You need to add the command information annotation.", command.getClass().getName());