Hi, I've an issue with on_message_edit(), I'm trying to log every edited messages but I can't retrieve the message author :
`@bot.event
async def on_message_edit(before, after):
data = discord.Embed(tittle = str(before.author), description=str(before.channel))
data.add_field(name="Orgiginal message :", value=str(before.content), inline=False)
data.add_field(name="Modified message :", value=str(after.content), inline=False)
await bot.get_channel(channel).send(embed=data)`
This code work except that the before.author is empty
You spelled title wrong as tittle and this is better suited at the discord.py discord server #help channels.
Most helpful comment
You spelled title wrong as tittle and this is better suited at the discord.py discord server #help channels.