From 8ee782100ae81477b36cbf05959beb84bcef07bb Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Mon, 31 Jul 2023 09:34:13 +0700 Subject: [PATCH] fix --- .../chipmunk/chayapak/chomens_bot/plugins/SelfCarePlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/SelfCarePlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/SelfCarePlugin.java index 68b8c01..47b5a16 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/SelfCarePlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/SelfCarePlugin.java @@ -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; } });