Muni Muni
This commit is contained in:
parent
fe126ab60d
commit
e20abbc5e9
Binary file not shown.
@ -90,7 +90,7 @@ public class DivaBot extends ListenerAdapter{
|
|||||||
private boolean ContainsMoreThanJustEmote(String message) {
|
private boolean ContainsMoreThanJustEmote(String message) {
|
||||||
int colonCount=0;
|
int colonCount=0;
|
||||||
for (int i=0;i<message.length();i++) {
|
for (int i=0;i<message.length();i++) {
|
||||||
if (colonCount>=2&&message.charAt(i)!=':') {
|
if ((colonCount==0||colonCount>=2)&&message.charAt(i)!=':') {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (message.charAt(i)==':') {
|
if (message.charAt(i)==':') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user