Added removing obfuscated chars from names, delivered reactions are more reliable, added linking to the PR on plugin autoupdate, a fix #24

Merged
NorbiPeti merged 6 commits from dev into master 2016-12-31 17:51:53 +00:00
Showing only changes of commit c5edce848f - Show all commits

View file

@ -51,9 +51,8 @@ public class AutoUpdaterListener implements IListener<MessageReceivedEvent> {
throw new Exception("No PR found");
} catch (Exception e) {
DiscordPlugin.sendMessageToChannel(DiscordPlugin.updatechannel, "",
new EmbedBuilder().withColor(Color.WHITE).withTitle(
"Update detauls: " + embed.getDescription() + " (" + e.getMessage() + ")")
.build());
new EmbedBuilder().withColor(Color.WHITE).withTitle("Update details:")
.withDescription(embed.getDescription() + " (" + e.getMessage() + ")").build());
}
return true;
}).get() && (!TBMCCoreAPI.IsTestServer() || !branch.equals("master")))