From 96cd3411eb2c85746782473f825f79ee8fdc45d5 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Sat, 29 Dec 2018 19:25:21 +0100 Subject: [PATCH] Correct typo --- src/main/java/net/Broken/Commands/Settings.java | 2 +- src/main/java/net/Broken/Tools/FindContentOnWebPage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/Broken/Commands/Settings.java b/src/main/java/net/Broken/Commands/Settings.java index b35fdf2..f25c8ea 100644 --- a/src/main/java/net/Broken/Commands/Settings.java +++ b/src/main/java/net/Broken/Commands/Settings.java @@ -40,7 +40,7 @@ public class Settings implements Commande { EmbedBuilder builder = new EmbedBuilder() .setTitle("Settings") - .setDescription("You can do all the configuration on this web ender the \"Bot Settings\" menu.\nhttps://"+MainBot.url).setColor(Color.green); + .setDescription("You can do all the configuration on this web in the \"Bot Settings\" menu.\nhttps://"+MainBot.url).setColor(Color.green); event.getTextChannel().sendMessage(EmbedMessageUtils.buildStandar(builder)).queue(); diff --git a/src/main/java/net/Broken/Tools/FindContentOnWebPage.java b/src/main/java/net/Broken/Tools/FindContentOnWebPage.java index 28e7f0d..a9d481e 100644 --- a/src/main/java/net/Broken/Tools/FindContentOnWebPage.java +++ b/src/main/java/net/Broken/Tools/FindContentOnWebPage.java @@ -16,7 +16,7 @@ public class FindContentOnWebPage { * @throws IOException */ public static String doYourJob(String url, String divClass, String htmlType) throws IOException { - System.out.println(url); +// System.out.println(url); String source = getSourceUrl(url); int divIndex = source.indexOf("class=\""+divClass); String sub = source.substring(divIndex);