Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public static class DISCORD {
public static class TELEGRAM {
public boolean ENABLED = false;
public String TOKEN = "1234567890";
public String PARSE_MODE = "HTML";
}

@Create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ public void sendMessage(Long id, String content, ReplyKeyboard keyboard) {
sendMessage.setChatId(String.valueOf(id));
sendMessage.setText(content);
sendMessage.setReplyMarkup(keyboard);
sendMessage.setParseMode(Settings.IMP.MAIN.TELEGRAM.PARSE_MODE);

try {
this.sendApiMethod(sendMessage);
Expand Down