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 ef4564c commit 8330044Copy full SHA for 8330044
botcore/utils/regex.py
@@ -3,7 +3,7 @@
3
import re
4
5
DISCORD_INVITE = re.compile(
6
- r"(https?://)?(www\.)?"
+ r"(https?://)?(www\.)?" # Optional http(s) and www.
7
r"(discord([.,]|dot)gg|" # Could be discord.gg/
8
r"discord([.,]|dot)com(/|slash)invite|" # or discord.com/invite/
9
r"discordapp([.,]|dot)com(/|slash)invite|" # or discordapp.com/invite/
0 commit comments