Update filters
This commit is contained in:
parent
ff059656bd
commit
456156c163
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
invites = re.compile(
|
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,
|
flags=re.IGNORECASE,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "jarvis-core"
|
name = "jarvis-core"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Your Name <you@example.com>"]
|
authors = ["Your Name <you@example.com>"]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
dis-snek = "^5.0.0"
|
dis-snek = "*"
|
||||||
orjson = "^3.6.6"
|
orjson = "^3.6.6"
|
||||||
motor = "^2.5.1"
|
motor = "^2.5.1"
|
||||||
umongo = "^3.1.0"
|
umongo = "^3.1.0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue