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