mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
Show commands in a code block (#56)
This commit is contained in:
@@ -9,7 +9,9 @@ public class Commands implements MessageCreateListener {
|
||||
public void onMessageCreate(MessageCreateEvent event) {
|
||||
Message message = event.getMessage();
|
||||
if (message.getContent().equalsIgnoreCase("::commands")) {
|
||||
event.getChannel().sendMessage("::forum/::forums"
|
||||
event.getChannel().sendMessage("```fix`
|
||||
+ System.lineSeparator() +
|
||||
"::forum/::forums"
|
||||
+ System.lineSeparator() +
|
||||
"::hiscores/::highscores"
|
||||
+ System.lineSeparator() +
|
||||
@@ -19,7 +21,9 @@ public class Commands implements MessageCreateListener {
|
||||
+ System.lineSeparator() +
|
||||
"::vote"
|
||||
+ System.lineSeparator() +
|
||||
"::website/::site");
|
||||
"::website/::site"
|
||||
+ System.lineSeparator() +
|
||||
"```");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user