title: Something wrong in my cogs about on_message_edit
body: <p>So, I want to log the edited message by member if they change it
  This is my code in the cogs so far:</p>
  <pre><code>    @commands.Cog.listener()
      async def on_message_edit(self,message,before,after):
          guild = message.guild
          channel = discord.utils.get(guild.channels, name=&quot;║logs&quot;)
          embed = discord.Embed(timestamp=message.created_at, colour=red) 
          embed.set_author(name=f'{message.author.name}#{message.author.discriminator}', icon_url=message.author.avatar_url)
          embed.set_footer(text=f&quot;Author ID:{message.author.id} • Message ID: {message.id}&quot;)
          embed.add_field(name=&quot;Member&quot;, value=f&quot;&lt;@{message.author.id}&gt;&quot;, inline=True)
          embed.add_field(name=&quot;Channel&quot;, value=f&quot;&lt;#{message.channel.id}&gt;&quot;, inline=True)
          embed.add_field(name=&quot;Message content before edited&quot;, value=message.before.content, inline=False)
          embed.add_field(name=&quot;Message content after edited&quot;, value=message.after.content, inline=False)
          await channel.send(embed=embed)
  </code></pre>
  <p>When I test it, I get this error:</p>
  <pre><code>Ignoring exception in on_message_edit
  Traceback (most recent call last):
    File &quot;/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py&quot;, line 343, in _run_event
      await coro(*args, **kwargs)
  TypeError: on_message_edit() missing 1 required positional argument: 'after'
  </code></pre>
  <p>I don't get it. What have I done wrong?</p>