This commit is contained in:
Chayapak 2023-07-31 09:34:13 +07:00
parent 972214e496
commit 8ee782100a

View file

@ -71,6 +71,7 @@ public class SelfCarePlugin extends Bot.Listener {
else if (string.startsWith("You now have the tag: ")) prefix = false; 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.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; else if (string.startsWith("Successfully set your username to \"")) username = false;
} }
}); });