discord py dm a user by his name code example
Example: discord.py dm specific user
if message.content == "dm":
await message.channel.send("Dming user")
dm = await message.author.create_dm() # Creates a dm channel with the user
await dm.send("What you want to send") # Sends the user the message