public void excecuteCommand(String channel, String sender, String message) throws Exception {
		MediaWikiBot wikipedia = new MediaWikiBot("http://en.wikipedia.org/w/");
		MediaWikiBot bulbapedia = new MediaWikiBot("http://bulbapedia.bulbagarden.net/w/");
		
		String[] args = message.split(" ");
		String link = "";
		String title = "";
		
		switch(args[0].toLowerCase()) {
		case "!wikipedia":
			if(args[1].equalsIgnoreCase("info")) {
				title = message.replace(args[0] + " " + args[1] + " ", "").replace(" ", "_");
				link = "http://en.wikipedia.org/wiki/" + title;
				
				if(!wikipedia.getArticle(title).getText().equals("")) {
					sendMessage(channel, link);
					sendMessage(channel, getInfo("https://en.wikipedia.org/w/api.php?action=query&redirects&prop=extracts&exintro&exsentences=2&explaintext&format=json&continue=&titles=" + title));
					sendMessage(channel, "Image: " + getImage("https://en.wikipedia.org/w/api.php?action=query&redirects&prop=pageimages&format=json&continue=&titles=" + title));
				} else {
					sendMessage(channel, "Article does not exist.");
				}
			} else {
				title = message.replace(args[0] + " ", "").replace(" ", "_");
				link = "http://en.wikipedia.org/wiki/" + title;
					
				if(!wikipedia.getArticle(title).getText().equals("")) {
					sendMessage(channel, link);
				} else {
					sendMessage(channel, "Article does not exist.");
				}
			}
			break;
		case "!wikia":
			link = "http://" + args[1] + ".wikia.com/";
			/*
			if(args[2].equalsIgnoreCase("info")) {
				title = message.replace(args[0] + " " + args[1] + " " + args[2] + " ", "").replace(" ", "_");
					
				if(!new MediaWikiBot(link).getArticle(title).getText().equals("")) {
					link = link + title;
					sendMessage(channel, link);
					sendMessage(channel, getInfo(link));
				} else {
					sendMessage(channel, "Wiki or article does not exist.");
				}
			} else {
			*/
				title = message.replace(args[0] + " " + args[1] + " ", "").replace(" ", "_");
				
				if(!new MediaWikiBot(link).getArticle(title).getText().equals("")) {
					sendMessage(channel, new MediaWikiBot(link).getArticle(title).getText());
					link = link + title;
					sendMessage(channel, link);
				} else {
					sendMessage(channel, "Wiki or article does not exist.");
				}
			//}
			break;
		case "!bulbapedia":
		case "!pokemonwiki":
			/*
			if(args[1].equalsIgnoreCase("info")) {
				title = message.replace(args[0] + " " + args[1] + " ", "").replace(" ", "_");
				link = "http://bulbapedia.bulbagarden.net/wiki/" + title;
				
				if(!bulbapedia.getArticle(title).getText().equals("")) {
					sendMessage(channel, link);
					sendMessage(channel, getInfo(link));
				} else {
					sendMessage(channel, "Article does not exist.");
				}
			} else {
			*/
				title = message.replace(args[0] + " ", "").replace(" ", "_");
				link = "http://bulbapedia.bulbagarden.net/wiki/" + title;
					
				if(!bulbapedia.getArticle(title).getText().equals("")) {
					sendMessage(channel, link);
				} else {
					sendMessage(channel, "Article does not exist.");
				}
			//}
			break;
		}
		
		//sendMessage(channel, "http://" + message.split(" ")[1] + ".wikia.com/wiki/" + message.split(" ")[2]);
	}