diff options
author | 2024-11-23 21:00:51 +0000 | |
---|---|---|
committer | 2024-11-23 21:01:03 +0000 | |
commit | 3b7f09e84a10c7b6de74ad48098d481f8c830fb9 (patch) | |
tree | a5f01a3be76a0d702e0d3c606d6064521c52e38c | |
parent | Update filter regex to not be overly strict (diff) |
Drop io and li from invite regex
These TLDs no longer work
-rw-r--r-- | pydis_core/utils/regex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/utils/regex.py b/pydis_core/utils/regex.py index fa7caecf..9d245c9b 100644 --- a/pydis_core/utils/regex.py +++ b/pydis_core/utils/regex.py @@ -7,7 +7,7 @@ DISCORD_INVITE = re.compile( r"(discord(app)?)?" # Optional discord(app) r"([.,]|dot)" # Various characters to cover dots r"(" - r"(gg|me|li|io)" # A few TLDs that embed within discord + r"(gg|me)" # TLDs that embed within discord r"|com(\/|slash|\\)invite" # Only match com/invite r")" r"(/|slash|\\)" # / or \ or 'slash' |