diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index e9a2ea758..2d68ea8bd 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -344,7 +344,7 @@ class PartialMessageConverter(Converter[discord.PartialMessage]): if not match: raise MessageNotFound(argument) data = match.groupdict() - channel_id = discord.utils._get_as_snowflake(data, 'channel_id') + channel_id = discord.utils._get_as_snowflake(data, 'channel_id') or ctx.channel.id message_id = int(data['message_id']) guild_id = data.get('guild_id') if guild_id is None: