@Command("\\.rev") public void rev(CommandContext ctx) { final Git.Revision rev = this.bot.revision; ctx.respond( "Currently on revision %(#hash)s by %(#author)s -- %(#description)s", rev.getHash(), rev.getAuthor(), rev.getDescription()); ctx.respond("%s", Git.revisionLink(rev)); }