package com.tisawesomeness.minecord.command.utility;

import com.tisawesomeness.minecord.command.Command;

import net.dv8tion.jda.core.events.message.MessageReceivedEvent;

public class CodesCommand extends Command {
	
	public CommandInfo getInfo() {
		return new CommandInfo(
			"codes",
			"Lists the available chat codes.",
			null,
			new String[]{
				"code",
				"chat",
				"color",
				"colors"},
			10000,
			false,
			false,
			true
		);
	}
	
	public Result run(String[] args, MessageReceivedEvent e) {
		
		String m = "**Chat Codes:**" +
				"\n" + "Copy-Paste symbol: " +
				"\n" + "MOTD code: \\u00A7" +
				"\n" + "Most servers with plugins let you use & instead of  in chat and config files." +
				"\n" + "http://i.imgur.com/MWCFs5S.png" +
				"\n" + "http://i.imgur.com/cWYjhkN.png";
		return new Result(Outcome.SUCCESS, m);
		
	}

}

@@ -573,16 +573,18 @@
 symbol: 
+%60%60
 %22 +%0A%09%09%09%09
@@ -606,15 +606,17 @@
 de: 
+%60
 %5C%5Cu00A7
+%60
 %22 +%0A
@@ -669,9 +669,11 @@
 use 
-&
+%60&%60
  ins
@@ -680,16 +680,18 @@
 tead of 
+%60%60
  in chat

Put symbols for &codes in code bocks