support another vanish message

totally not because creayun,,.,..,
This commit is contained in:
Chayapak 2023-05-12 16:31:18 +07:00
parent 16d88613d3
commit 487e410af8

View file

@ -59,6 +59,7 @@ public class SelfCarePlugin extends Bot.Listener {
else if (message.equals("Successfully disabled CommandSpy")) cspy = false;
else if (message.equals("Vanish for " + bot.username() + ": enabled")) vanish = true;
else if (message.equals("You are now completely invisible to normal users, and hidden from in-game commands.")) vanish = true;
else if (message.equals("Vanish for " + bot.username() + ": disabled")) vanish = false;
else if (message.equals("You no longer have a nickname.")) nickname = true;