Tanggapan Bot Perselisihan terhadap Pesan Pribadi 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