remove debug code

This commit is contained in:
Kegan Myers 2013-06-30 19:08:15 -05:00
parent 308f29bf74
commit f8f247f556
2 changed files with 77 additions and 80 deletions

Binary file not shown.

View file

@ -22,13 +22,10 @@ public class UrbanCommand extends be.xrg.evilbotx.parents.EBXComponent {
if (b.startsWith("!urban")) {
if (b.contains(" ")) {
String[] c = b.split(" ", 2);
System.out.println(c[0]);
System.out.println(c[1]);
String a = Utilities
JSONObject d = new JSONObject(
Utilities
.getHTMLPage("http://api.urbandictionary.com/v0/define?term="
+ Utilities.urlEncode(c[1]))[1];
System.out.println(a);
JSONObject d = new JSONObject(a);
+ Utilities.urlEncode(c[1]))[1]);
if (d.has("result_type")) {
Object g = d.get("result_type");
if (g instanceof String) {