diff --git a/jarvis_core/filters.py b/jarvis_core/filters.py index 9ff64e8..41db437 100644 --- a/jarvis_core/filters.py +++ b/jarvis_core/filters.py @@ -2,7 +2,7 @@ import re invites = re.compile( - r"(?:https?://)?(?:www.)?(?:discord.(?:gg|io|me|li)|discord(?:app)?.com/invite)/([^\s/]+?)(?=\b)", + r"(?:discord.?(?:gg|io|me|li)|discord(?:app)?.?com/(?:invite))/([^\s/]+?)(?=\b)", flags=re.IGNORECASE, ) diff --git a/pyproject.toml b/pyproject.toml index df8266d..935faa4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "jarvis-core" -version = "0.1.3" +version = "0.1.4" description = "" authors = ["Your Name "] [tool.poetry.dependencies] python = "^3.10" -dis-snek = "^5.0.0" +dis-snek = "*" orjson = "^3.6.6" motor = "^2.5.1" umongo = "^3.1.0"