From 98985394235a5e4689c835a7e41e927de6630430 Mon Sep 17 00:00:00 2001 From: Zickles <76439587+Zickles@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:56:28 -0400 Subject: [PATCH 1/3] add PM channel name regex --- regex.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/regex.json b/regex.json index e0f914e..d5e242b 100644 --- a/regex.json +++ b/regex.json @@ -65,6 +65,8 @@ "chatRestylerFriendPattern": "^((?:\u00a7r)?\u00a7\\w)(Friend >)", "chatRestylerOfficerPattern": "^((?:\u00a7r)?\u00a7\\w)(Officer >)", "chatRestylerStatusPattern": "^(?(?:\u00a7aFriend|\u00a7a\u00a7aF|\u00a72Guild|\u00a72\u00a72G)) > (\u00a7r|\u00a7r\u00a7r){1,2}(?\u00a7[\\da-f]\\w{1,16}) \u00a7r\u00a7e(?(?:joined|left))\\.\u00a7r$", + "chatRestylerPrivateMessageToPattern": "^((?:\u00a7r)?\u00a7\\w)(To)", + "chatRestylerPrivateMessageToPattern": "^((?:\u00a7r)?\u00a7\\w)(From)", "autoChatSwapperPartyStatus": "^(?:You have been kicked from the party by (?:\\[.+] )?\\w{1,16}|(?:\\[.+] )?\\w{1,16} has disbanded the party!|You left the party\\.|You are not in a party\\.|The party was disbanded because (?:all invites expired and the party was empty|the party leader disconnected)\\.)$", "autoChatSwapperChannelSwap": "^You are now in the (?ALL|GUILD|OFFICER) channel$", "autoChatSwapperAlreadyInChannel": "You're already in this channel!", @@ -86,7 +88,7 @@ "autoPartyWarpConfirm": "Some players are still in-game, run the command again to confirm warp!", "tabFooterAdvertisement": "\u00a7aRanks, Boosters & MORE! \u00a7r\u00a7c\u00a7lSTORE.HYPIXEL.NET", "tabHeaderAdvertisement": "\u00a7bYou are playing on \u00a7r\u00a7e\u00a7lMC.HYPIXEL.NET", - "gameBossbarAdvertisement": "\u00a7e\u00a7lPlaying \u00a7f\u00a7l.+ \u00a7e\u00a7lon \u00a7\\S\u00a7lMC\\.HYPIXEL\\.NET\u00a7r" + "gameBossbarAdvertisement": "\u00a7e\u00a7lPlaying \u00a7f\u00a7l.+ \u00a7e\u00a7lon \u00a7\\S\u00a7lMC\\.HYPIXEL\\.NET\u00a7r". }, "test_woverflow_value": "hi" } From 9d868aeeda94844c40f57bbec2984f9129037203 Mon Sep 17 00:00:00 2001 From: Zickles <76439587+Zickles@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:57:35 -0400 Subject: [PATCH 2/3] remove dot --- regex.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex.json b/regex.json index d5e242b..717bfaa 100644 --- a/regex.json +++ b/regex.json @@ -88,7 +88,7 @@ "autoPartyWarpConfirm": "Some players are still in-game, run the command again to confirm warp!", "tabFooterAdvertisement": "\u00a7aRanks, Boosters & MORE! \u00a7r\u00a7c\u00a7lSTORE.HYPIXEL.NET", "tabHeaderAdvertisement": "\u00a7bYou are playing on \u00a7r\u00a7e\u00a7lMC.HYPIXEL.NET", - "gameBossbarAdvertisement": "\u00a7e\u00a7lPlaying \u00a7f\u00a7l.+ \u00a7e\u00a7lon \u00a7\\S\u00a7lMC\\.HYPIXEL\\.NET\u00a7r". + "gameBossbarAdvertisement": "\u00a7e\u00a7lPlaying \u00a7f\u00a7l.+ \u00a7e\u00a7lon \u00a7\\S\u00a7lMC\\.HYPIXEL\\.NET\u00a7r" }, "test_woverflow_value": "hi" } From e2c7d04546509fa9ae8ab591cf72fc101c0e2d81 Mon Sep 17 00:00:00 2001 From: Zickles <76439587+Zickles@users.noreply.github.com> Date: Fri, 19 Jul 2024 15:00:49 -0400 Subject: [PATCH 3/3] fix names --- regex.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex.json b/regex.json index 717bfaa..dd198db 100644 --- a/regex.json +++ b/regex.json @@ -66,7 +66,7 @@ "chatRestylerOfficerPattern": "^((?:\u00a7r)?\u00a7\\w)(Officer >)", "chatRestylerStatusPattern": "^(?(?:\u00a7aFriend|\u00a7a\u00a7aF|\u00a72Guild|\u00a72\u00a72G)) > (\u00a7r|\u00a7r\u00a7r){1,2}(?\u00a7[\\da-f]\\w{1,16}) \u00a7r\u00a7e(?(?:joined|left))\\.\u00a7r$", "chatRestylerPrivateMessageToPattern": "^((?:\u00a7r)?\u00a7\\w)(To)", - "chatRestylerPrivateMessageToPattern": "^((?:\u00a7r)?\u00a7\\w)(From)", + "chatRestylerPrivateMessageFromPattern": "^((?:\u00a7r)?\u00a7\\w)(From)", "autoChatSwapperPartyStatus": "^(?:You have been kicked from the party by (?:\\[.+] )?\\w{1,16}|(?:\\[.+] )?\\w{1,16} has disbanded the party!|You left the party\\.|You are not in a party\\.|The party was disbanded because (?:all invites expired and the party was empty|the party leader disconnected)\\.)$", "autoChatSwapperChannelSwap": "^You are now in the (?ALL|GUILD|OFFICER) channel$", "autoChatSwapperAlreadyInChannel": "You're already in this channel!",