Finally "Fix" Discordbot ::commands

Fixes the commands command,
Was originally missing a double quote mark,
Then an extra back-tick got added,
Then more back-ticks were added,
Then the fix keyword was removed,
I've added back the fix keyword which will give the commands the yellow coloring
This commit is contained in:
Danial
2019-10-21 01:45:18 +01:00
committed by Dark98
parent ed1c4b1960
commit 3e83996a7f
@@ -9,7 +9,8 @@ public class Commands implements MessageCreateListener {
public void onMessageCreate(MessageCreateEvent event) { public void onMessageCreate(MessageCreateEvent event) {
Message message = event.getMessage(); Message message = event.getMessage();
if (message.getContent().equalsIgnoreCase("::commands")) { if (message.getContent().equalsIgnoreCase("::commands")) {
event.getChannel().sendMessage("```" + event.getChannel().sendMessage("```fix"
+ System.lineSeparator() +
"::forum/::forums" "::forum/::forums"
+ System.lineSeparator() + + System.lineSeparator() +
"::heatmap" "::heatmap"
@@ -25,7 +26,7 @@ public class Commands implements MessageCreateListener {
"::vote" "::vote"
+ System.lineSeparator() + + System.lineSeparator() +
"::website/::site" "::website/::site"
+ "```"); + "```");
} }
} }
} }