Fix Discord oddity with correct \ to / during http resolution
This commit is contained in:
parent
ee002f6e7f
commit
0184d89d38
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/(?:invite))/([^\s/]+?)(?=\b)",
|
||||
r"(?:discord.?(?:gg|io|me|li)|discord(?:app)?.?com[/\\]?(?:invite))[/\\]?([^\s/]+?)(?=\b)",
|
||||
flags=re.IGNORECASE,
|
||||
)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "jarvis-core"
|
||||
version = "0.8.1"
|
||||
version = "0.8.2"
|
||||
description = "JARVIS core"
|
||||
authors = ["Zevaryx <zevaryx@gmail.com>"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue