Correct typo
This commit is contained in:
parent
7ce05cd028
commit
96cd3411eb
@ -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();
|
||||||
|
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user