Discord Bot Respuesta a Mensaje Privado Python

@bot.event
async def on_message(message):
    if isinstance(message.channel, discord.channel.DMChannel) and message.author != bot.user:
        await message.channel.send('This is a DM')
obvThinky