Added some debug code, testing them now
This commit is contained in:
parent
74fe66ec7d
commit
c3cc559b61
1 changed files with 6 additions and 1 deletions
|
@ -16,6 +16,11 @@ public class AutoUpdaterListener implements IListener<MessageReceivedEvent> {
|
||||||
System.out.println("No embed");
|
System.out.println("No embed");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
System.out.println(event.getMessage().getEmbedded().get(0).getDescription());
|
final String title = event.getMessage().getEmbedded().get(0).getTitle();
|
||||||
|
System.out.println(title);
|
||||||
|
System.out.println(title.indexOf(':'));
|
||||||
|
System.out.println(title.indexOf(']'));
|
||||||
|
System.out.println(title.substring(title.indexOf(':') + 1, title.indexOf(']')));
|
||||||
|
System.out.println(title.contains("new commit"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue