diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java
index 5dde286d62..ac165c4a63 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java
+++ b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java
@@ -83,7 +83,7 @@ import org.apache.commons.text.WordUtils;
@Slf4j
public class ChatCommandsPlugin extends Plugin
{
- private static final Pattern KILLCOUNT_PATTERN = Pattern.compile("Your (.+) (?:kill|harvest|lap) count is:
(\\d+)");
+ private static final Pattern KILLCOUNT_PATTERN = Pattern.compile("Your (.+) (?:kill|harvest|lap|completion) count is: (\\d+)");
private static final Pattern RAIDS_PATTERN = Pattern.compile("Your completed (.+) count is: (\\d+)");
private static final Pattern WINTERTODT_PATTERN = Pattern.compile("Your subdued Wintertodt count is: (\\d+)");
private static final Pattern BARROWS_PATTERN = Pattern.compile("Your Barrows chest count is: (\\d+)");
@@ -1351,6 +1351,16 @@ public class ChatCommandsPlugin extends Plugin
case "prifddinas":
return "Prifddinas Agility Course";
+ // The Gauntlet
+ case "gaunt":
+ case "gauntlet":
+ return "Gauntlet";
+
+ // Corrupted Gauntlet
+ case "cgaunt":
+ case "cgauntlet":
+ return "Corrupted Gauntlet";
+
default:
return WordUtils.capitalize(boss);
}
diff --git a/runelite-client/src/test/java/net/runelite/client/plugins/chatcommands/ChatCommandsPluginTest.java b/runelite-client/src/test/java/net/runelite/client/plugins/chatcommands/ChatCommandsPluginTest.java
index 4a486c767f..f7a576477e 100644
--- a/runelite-client/src/test/java/net/runelite/client/plugins/chatcommands/ChatCommandsPluginTest.java
+++ b/runelite-client/src/test/java/net/runelite/client/plugins/chatcommands/ChatCommandsPluginTest.java
@@ -142,6 +142,28 @@ public class ChatCommandsPluginTest
verify(configManager).setConfiguration("killcount.adam", "herbiboar", 4091);
}
+ @Test
+ public void testGauntlet()
+ {
+ when(client.getUsername()).thenReturn("Adam");
+
+ ChatMessage gauntletMessage = new ChatMessage(null, GAMEMESSAGE, "", "Your Gauntlet completion count is: 123.", null, 0);
+ chatCommandsPlugin.onChatMessage(gauntletMessage);
+
+ verify(configManager).setConfiguration("killcount.adam", "gauntlet", 123);
+ }
+
+ @Test
+ public void testCorruptedGauntlet()
+ {
+ when(client.getUsername()).thenReturn("Adam");
+
+ ChatMessage corruptedGauntletMessage = new ChatMessage(null, GAMEMESSAGE, "", "Your Corrupted Gauntlet completion count is: 4729.", null, 0);
+ chatCommandsPlugin.onChatMessage(corruptedGauntletMessage);
+
+ verify(configManager).setConfiguration("killcount.adam", "corrupted gauntlet", 4729);
+ }
+
@Test
public void testPersonalBest()
{