From 3b7f09e84a10c7b6de74ad48098d481f8c830fb9 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 23 Nov 2024 21:00:51 +0000 Subject: Drop io and li from invite regex These TLDs no longer work --- pydis_core/utils/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.3