Update filters, closes jarvis#142
This commit is contained in:
parent
06a6dd8434
commit
7bb9b25f63
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import re
|
|||
|
||||
invites = re.compile(
|
||||
r"(?:(?:discord.?(?:gg|io|me|li)|discord(?:app)?.?com[/\\]{1,}(?:invite))(?:[\S]+)?[/\\]{1,}"
|
||||
r"([^\s/]+?)(?=\b))|discord://-/invite/([^\s/]+?)(?=\b)",
|
||||
r"([^\s/]+?)(?=\b))|discord://.*/invite/([^\s/]+?)(?=\b)",
|
||||
flags=re.IGNORECASE,
|
||||
)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "jarvis-core"
|
||||
version = "0.10.1"
|
||||
version = "0.10.2"
|
||||
description = "JARVIS core"
|
||||
authors = ["Zevaryx <zevaryx@gmail.com>"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue