Correct typo

This commit is contained in:
Sebastien 2018-12-29 19:25:21 +01:00
parent 7ce05cd028
commit 96cd3411eb
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ public class Settings implements Commande {
EmbedBuilder builder = new EmbedBuilder() EmbedBuilder builder = new EmbedBuilder()
.setTitle("Settings") .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(); event.getTextChannel().sendMessage(EmbedMessageUtils.buildStandar(builder)).queue();

View File

@ -16,7 +16,7 @@ public class FindContentOnWebPage {
* @throws IOException * @throws IOException
*/ */
public static String doYourJob(String url, String divClass, String htmlType) 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); String source = getSourceUrl(url);
int divIndex = source.indexOf("class=\""+divClass); int divIndex = source.indexOf("class=\""+divClass);
String sub = source.substring(divIndex); String sub = source.substring(divIndex);