Sk1erLLC / AutoGG

Automatically say a selected phrase after a game has ended on supported servers.
GNU General Public License v3.0
18 stars 15 forks source link

AntiGG feature removes whole chat #20

Closed ChachyDev closed 3 years ago

ChachyDev commented 3 years ago

The AutoGG AntiGG pattern matching seems to failing causing most/all messages in chat to be removed due to being seen as "AntiGG messages". This could be either due to the regex itself being incorrect or the code.

~~Relevant code: https://github.com/Sk1erLLC/AutoGG/blob/eae9fe68d67538f268c87923a6e6e40bb23d0540/src/main/java/club/sk1er/mods/autogg/handlers/gg/AutoGGHandler.java#L52-L59~~

AntiGG Regex: ^(?:.* )?(?:\\[.+] )?\\w{1,16}(?: .+)?: (?:❤\\\|${antigg_strings})$ (Taken from https://static.sk1er.club/autogg/regex_triggers_3.json)