From 3e83996a7f692b66a86f5043bd5a590d9f25e952 Mon Sep 17 00:00:00 2001 From: Danial Date: Mon, 21 Oct 2019 01:45:18 +0100 Subject: [PATCH] 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 --- .../src/redone/integrations/discord/commands/Commands.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/2006Redone Server/src/redone/integrations/discord/commands/Commands.java b/2006Redone Server/src/redone/integrations/discord/commands/Commands.java index 8a8a1d49..90edd5b4 100644 --- a/2006Redone Server/src/redone/integrations/discord/commands/Commands.java +++ b/2006Redone Server/src/redone/integrations/discord/commands/Commands.java @@ -9,7 +9,8 @@ public class Commands implements MessageCreateListener { public void onMessageCreate(MessageCreateEvent event) { Message message = event.getMessage(); if (message.getContent().equalsIgnoreCase("::commands")) { - event.getChannel().sendMessage("```" + + event.getChannel().sendMessage("```fix" + + System.lineSeparator() + "::forum/::forums" + System.lineSeparator() + "::heatmap" @@ -25,7 +26,7 @@ public class Commands implements MessageCreateListener { "::vote" + System.lineSeparator() + "::website/::site" - + "```"); + + "```"); } } }