@API(status = API.Status.STABLE)
    public @Nullable Command<?> command() {
        return this.command;
    }
Returns the Command which the sender is invalid for.

@return command
cloud-core/src/main/java/org/incendo/cloud/exception/InvalidCommandSenderException.java