'How do you send a private message in discord.py to command user?
Please reference to the image below:
I know how to send a private message DM to user... But I want the bot to send a message in the CHANNEL instead, yet make the message content see-able only by the command user. How do you send a message that says: "only you can see this".
Also, can this be done with embeds?
is it possible to send a private EMBED to user?
Solution 1:[1]
If you want to use like the above image then this is only possible in splash commands and buttons for now. But if you want to send user a embed in dm then you can and also you can also send this thing in embed.
If you want to use this in splash command you can do like this:
interaction.response.send_message("Text", ephemeral=True)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | AT Gaming |

