diff options
Diffstat (limited to 'src/main/java/com/juick/model/CommandResult.java')
-rw-r--r-- | src/main/java/com/juick/model/CommandResult.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/juick/model/CommandResult.java b/src/main/java/com/juick/model/CommandResult.java index cb96b80d..79e1af03 100644 --- a/src/main/java/com/juick/model/CommandResult.java +++ b/src/main/java/com/juick/model/CommandResult.java @@ -21,14 +21,14 @@ import java.util.Optional; public class CommandResult { private String text; - private String markdown; + private String html; private Message newMessage; public String getText() { return text; } - public String getMarkdown() { - return markdown; + public String getHtml() { + return html; } public Optional<Message> getNewMessage() { @@ -38,7 +38,7 @@ public class CommandResult { CommandResult result = new CommandResult(); result.newMessage = newMessage; result.text = text; - result.markdown = markdown; + result.html = markdown; return result; } public static CommandResult fromString(String text) { |