forked from ChomeNS/chomens-bot-java
fix
This commit is contained in:
parent
972214e496
commit
8ee782100a
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ public class SelfCarePlugin extends Bot.Listener {
|
|||
else if (string.startsWith("You now have the tag: ")) prefix = false;
|
||||
|
||||
else if (string.equals("Successfully set your username to \"" + bot.username + "\"")) username = true;
|
||||
else if (string.startsWith("You already have the username \"")) username = true;
|
||||
else if (string.startsWith("Successfully set your username to \"")) username = false;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue