Skip to content

Commit

Permalink
Update private_messages_support.py
Browse files Browse the repository at this point in the history
discord.me
  • Loading branch information
paris-ci authored Oct 16, 2023
1 parent 4fa5c26 commit c094abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cogs/private_messages_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def __init__(self, bot: MyBot, *args, **kwargs):
self.invites_regex = re.compile(
r"""
discord # Literally just discord
(?:(?:app)?\s?\.\s?com\s?\/invite|\.\s?gg)\s?\/ # All the domains
(?:(?:app)?\s?\.\s?com\s?\/invite|\.\s?gg|\.\s?me)\s?\/ # All the domains
((?!.*[Ii10OolL]).[a-zA-Z0-9]{5,12}|[a-zA-Z0-9\-]{2,32}) # Rest of the fucking owl.
""",
flags=re.VERBOSE | re.IGNORECASE,
Expand Down

0 comments on commit c094abc

Please sign in to comment.