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");
|
throw new Exception("No PR found");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
DiscordPlugin.sendMessageToChannel(DiscordPlugin.updatechannel, "",
|
DiscordPlugin.sendMessageToChannel(DiscordPlugin.updatechannel, "",
|
||||||
new EmbedBuilder().withColor(Color.WHITE).withTitle(
|
new EmbedBuilder().withColor(Color.WHITE).withTitle("Update details:")
|
||||||
"Update detauls: " + embed.getDescription() + " (" + e.getMessage() + ")")
|
.withDescription(embed.getDescription() + " (" + e.getMessage() + ")").build());
|
||||||
.build());
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}).get() && (!TBMCCoreAPI.IsTestServer() || !branch.equals("master")))
|
}).get() && (!TBMCCoreAPI.IsTestServer() || !branch.equals("master")))
|
||||||
|
|
Loading…
Reference in a new issue