forked from ChomeNS/chomens-bot-java
Fix #4
This commit is contained in:
parent
a3a126f7a8
commit
51216977a5
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ public class SelfCarePlugin extends Bot.Listener {
|
||||||
else if (string.equals("You now have the tag: " + bot.config.selfCare.prefix.prefix)) prefix = true;
|
else if (string.equals("You now have the tag: " + bot.config.selfCare.prefix.prefix)) prefix = true;
|
||||||
else if (string.startsWith("You no longer have a tag")) prefix = false;
|
else if (string.startsWith("You no longer have a tag")) prefix = false;
|
||||||
else if (string.startsWith("You now have the tag: ")) prefix = false;
|
else if (string.startsWith("You now have the tag: ")) prefix = false;
|
||||||
|
// prefix = true as a workaround to prevent spamming
|
||||||
|
else if (string.equals("Something went wrong while saving the prefix. Please check console.")) prefix = true; // Parker2991
|
||||||
|
|
||||||
else if (string.equals("Successfully set your username to \"" + bot.username + "\"")) username = true;
|
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("You already have the username \"")) username = true;
|
||||||
|
|
Loading…
Reference in a new issue