Skip to content

Commit

Permalink
Drop io and li from invite regex
Browse files Browse the repository at this point in the history
These TLDs no longer work
  • Loading branch information
ChrisLovering committed Nov 23, 2024
1 parent 21a32de commit 3b7f09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydis_core/utils/regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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'
Expand Down

0 comments on commit 3b7f09e

Please sign in to comment.