diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-04-02 01:28:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 10:28:03 +1100 |
commit | a126f6c554260aa03f1ad875b65c7d6bf94cd72e (patch) | |
tree | bfaba923a450b6db78f1bd81f4738f5931c52f86 /src/main/java/at | |
parent | cfdefef783d29851e94b31544c97cec2713d2f8d (diff) | |
download | skyhanni-a126f6c554260aa03f1ad875b65c7d6bf94cd72e.tar.gz skyhanni-a126f6c554260aa03f1ad875b65c7d6bf94cd72e.tar.bz2 skyhanni-a126f6c554260aa03f1ad875b65c7d6bf94cd72e.zip |
fix friend detection from chat (#1336)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt index 19d337249..224ce9979 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt @@ -33,9 +33,13 @@ object FriendAPI { "addbest", ".*\n(?<name>.*)§a is now a best friend!§r§9§m\n.*" ) + /** + * REGEX-TEST: + * §eClick here to view §bAaronL_Jackson§e's profile + */ private val rawNamePattern by patternGroup.pattern( "rawname", - "\\n§eClick to view §.(?<name>.*)§e's profile" + "\\n§eClick here to view §.(?<name>.*)§e's profile" ) private val readFriendListPattern by patternGroup.pattern( "readfriends", |