Update invite filter for application uri
This commit is contained in:
parent
37545a9a20
commit
83117c1b3c
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,8 @@
|
|||
import re
|
||||
|
||||
invites = re.compile(
|
||||
r"(?:discord.?(?:gg|io|me|li)|discord(?:app)?.?com[/\\]{1,}(?:invite))(?:[\S]+)?[/\\]{1,}([^\s/]+?)(?=\b)",
|
||||
r"(?:(?:discord.?(?:gg|io|me|li)|discord(?:app)?.?com[/\\]{1,}(?:invite))(?:[\S]+)?[/\\]{1,}"
|
||||
r"([^\s/]+?)(?=\b))|discord://-/invite/([^\s/]+?)(?=\b)",
|
||||
flags=re.IGNORECASE,
|
||||
)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "jarvis-core"
|
||||
version = "0.9.1"
|
||||
version = "0.9.2"
|
||||
description = "JARVIS core"
|
||||
authors = ["Zevaryx <zevaryx@gmail.com>"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue