Fixed update details msg
This commit is contained in:
parent
f97d7e7a05
commit
c5edce848f
1 changed files with 2 additions and 3 deletions
|
@ -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")))
|
||||
|
|
Loading…
Reference in a new issue