diff options
| author | Ben Skerritt <[email protected]> | 2020-12-07 23:35:16 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-07 18:35:16 -0500 |
| commit | 0995d077271ed97129c9d06833f710d2c2744dae (patch) | |
| tree | 0f1ee7f15b1084c52cba25811abc1c824feb5d16 | |
| parent | Fix wrong documented permission for GuildChannel.invites() (diff) | |
| download | discord.py-0995d077271ed97129c9d06833f710d2c2744dae.tar.xz discord.py-0995d077271ed97129c9d06833f710d2c2744dae.zip | |
[commands] Added in missing channel links
| -rw-r--r-- | discord/ext/commands/converter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index 85a301c6..a3392482 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -263,7 +263,7 @@ class MessageConverter(Converter): 3. Lookup by message URL .. versionchanged:: 1.5 - Raise :exc:`.ChannelNotFound`, `MessageNotFound` or `ChannelNotReadable` instead of generic :exc:`.BadArgument` + Raise :exc:`.ChannelNotFound`, :exc:`.MessageNotFound` or :exc:`.ChannelNotReadable` instead of generic :exc:`.BadArgument` """ 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})$') |