mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 08:39:07 +00:00
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:
@@ -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"
|
||||||
+ "```");
|
+ "```");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user