aboutsummaryrefslogtreecommitdiff
path: root/discord/ext
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-05-23 21:44:30 -0400
committerRapptz <[email protected]>2020-05-23 21:44:30 -0400
commit66c6be50d8ac5d401a658c757c5f1ccb454c798b (patch)
treebc5079ddfca32f952417416f473283cda045017b /discord/ext
parentplayer: Close ffmpeg stdin during streaming (diff)
downloaddiscord.py-66c6be50d8ac5d401a658c757c5f1ccb454c798b.tar.xz
discord.py-66c6be50d8ac5d401a658c757c5f1ccb454c798b.zip
Prepare for the discord.com domain rename
Diffstat (limited to 'discord/ext')
-rw-r--r--discord/ext/commands/converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py
index 93137cad..3d706bf8 100644
--- a/discord/ext/commands/converter.py
+++ b/discord/ext/commands/converter.py
@@ -194,7 +194,7 @@ class MessageConverter(Converter):
async def convert(self, ctx, argument):
id_regex = re.compile(r'^(?:(?P<channel_id>[0-9]{15,21})-)?(?P<message_id>[0-9]{15,21})$')
link_regex = re.compile(
- r'^https?://(?:(ptb|canary)\.)?discordapp\.com/channels/'
+ r'^https?://(?:(ptb|canary)\.)?discord(?:app)?\.com/channels/'
r'(?:([0-9]{15,21})|(@me))'
r'/(?P<channel_id>[0-9]{15,21})/(?P<message_id>[0-9]{15,21})/?$'
)