public static String getRedditBotVersion() {
        if (VERSION != null) {
            return VERSION;
        }

        Package p = RedditPlugin.class.getPackage();

        if (p == null) {
            p = Package.getPackage("yetanotherx.redditbot");
        }

        if (p == null) {
            VERSION = "(unknown)";
        } else {
            VERSION = p.getImplementationVersion();

            if (VERSION == null) {
                VERSION = "(unknown)";
            }
        }

        return VERSION;
    }