Skip to content

Commit 3b7f09e

Browse files
committed
Drop io and li from invite regex
These TLDs no longer work
1 parent 21a32de commit 3b7f09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydis_core/utils/regex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
r"(discord(app)?)?" # Optional discord(app)
88
r"([.,]|dot)" # Various characters to cover dots
99
r"("
10-
r"(gg|me|li|io)" # A few TLDs that embed within discord
10+
r"(gg|me)" # TLDs that embed within discord
1111
r"|com(\/|slash|\\)invite" # Only match com/invite
1212
r")"
1313
r"(/|slash|\\)" # / or \ or 'slash'

0 commit comments

Comments
 (0)