diff --git a/src/main/java/wtf/beatrice/hidekobot/commands/slash/DiceRollCommand.java b/src/main/java/wtf/beatrice/hidekobot/commands/slash/DiceRollCommand.java index 4d480e5..c3e4c46 100644 --- a/src/main/java/wtf/beatrice/hidekobot/commands/slash/DiceRollCommand.java +++ b/src/main/java/wtf/beatrice/hidekobot/commands/slash/DiceRollCommand.java @@ -42,12 +42,12 @@ public class DiceRollCommand extends SlashCommandImpl MessageResponse response = DiceRoll.buildResponse(event.getUser(), args); - if(response.getContent() != null) + if(response.content() != null) { - event.getHook().editOriginal(response.getContent()).queue(); - } else if(response.getEmbed() != null) + event.getHook().editOriginal(response.content()).queue(); + } else if(response.embed() != null) { - event.getHook().editOriginalEmbeds(response.getEmbed()).queue(); + event.getHook().editOriginalEmbeds(response.embed()).queue(); } } }