package core.commands;

import core.Constants;
import core.entities.Server;
import core.entities.ServerManager;
import core.util.Utils;
import net.dv8tion.jda.core.entities.Member;

public class CmdRestart extends Command{

	public CmdRestart(){
		this.name = Constants.RESTART_NAME;
		this.description = Constants.RESTART_DESC;
		this.helpMsg = Constants.RESTART_HELP;
		this.adminRequired = true;
	}
	
	@Override
	public void execCommand(Server server, Member member, String[] args) {
		ServerManager.removeServer(server.getGuild());
		ServerManager.addNewServer(server.getGuild());
		this.response = Utils.createMessage("`Server instance restarted`");
	}

}

@@ -648,14 +648,47 @@
 ted%60%22);%0A
+%09%09System.out.println(success());%0A
 %09%7D%0A%0A%7D%0A

Add success call