I want to make my discord bot to send a reply message only if a user has deleted a message (not bots). I'm using message.author.bot
to find out, but it seems that deleting messages isn't the same. So far I have this:
@client.event
async def on_message_delete(message):
if message.author.bot:
return
await client.send_message(message.channel, "<@{}>'s message was deleted".format(message.author.id))