Skip to content

Commit

Permalink
Update asset sub-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
LXGaming committed Jan 28, 2020
1 parent 622ad30 commit ba648ca
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static boolean execute(Message message) {
EmbedBuilder embedBuilder = new EmbedBuilder();
embedBuilder.setColor(MessageManager.getColor(Color.ERROR));
embedBuilder.setTitle("You do not have permission to execute this command");
embedBuilder.setFooter("Missing permission: " + command.getPermission(), "https://api.lxgaming.me/assets/discord/warning.png");
embedBuilder.setFooter("Missing permission: " + command.getPermission(), "https://repo.lxgaming.me/assets/discord/warning.png");
MessageManager.sendTemporaryMessage(message.getTextChannel(), embedBuilder.build());
return false;
}
Expand All @@ -119,15 +119,15 @@ public static boolean execute(Message message) {
.append("```")
.append(ex.getMessage())
.append("```");
embedBuilder.setFooter("Exception: " + ex.getClass().getName(), "https://api.lxgaming.me/assets/discord/error.png");
embedBuilder.setFooter("Exception: " + ex.getClass().getName(), "https://repo.lxgaming.me/assets/discord/error.png");
MessageManager.sendMessage(message.getTextChannel(), embedBuilder.build());
return false;
} catch (Exception ex) {
DiscordMusic.getInstance().getLogger().error("Encountered an error while executing {}", Toolbox.getClassSimpleName(command.getClass()), ex);
EmbedBuilder embedBuilder = new EmbedBuilder();
embedBuilder.setColor(MessageManager.getColor(Color.ERROR));
embedBuilder.setTitle("An unexpected error has occurred. Details are available in console.");
embedBuilder.setFooter("Exception: " + ex.getClass().getName(), "https://api.lxgaming.me/assets/discord/error.png");
embedBuilder.setFooter("Exception: " + ex.getClass().getName(), "https://repo.lxgaming.me/assets/discord/error.png");
MessageManager.sendMessage(message.getTextChannel(), embedBuilder.build());
return false;
}
Expand Down

0 comments on commit ba648ca

Please sign in to comment.