diff --git a/pydis_core/utils/regex.py b/pydis_core/utils/regex.py index 88a4c52f3..ba6b9b01b 100644 --- a/pydis_core/utils/regex.py +++ b/pydis_core/utils/regex.py @@ -10,7 +10,7 @@ r"(gg|me)" # TLDs that embed within discord r"|com(\/|slash|\\)invite" # Only match com/invite r")" - r"(/|slash|\\)" # / or \ or 'slash' + r"(/|slash|\\+)" # / or 'slash' or 1+ of \ r"(?P\S+)", # the invite code itself flags=re.IGNORECASE )