We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7f09e commit 93ce65fCopy full SHA for 93ce65f
pydis_core/utils/regex.py
@@ -3,7 +3,7 @@
3
import re
4
5
DISCORD_INVITE = re.compile(
6
- r"(https?://)?(www\.)?" # Optional http(s) and www.
+ r"(https?:\/\/)?(www\.)?" # Optional http(s) and www.
7
r"(discord(app)?)?" # Optional discord(app)
8
r"([.,]|dot)" # Various characters to cover dots
9
r"("
0 commit comments