Debian Codegraph @

docpages/example_programs/interactions_and_components/user-only-messages.md

raw
1 \page user-only-messages Ephemeral Replies ('Only You Can See This' Replies)
2
3 If you've used a Discord bot, there's a chance that you've encountered a message from one that said "Only you can see this" after you interacted with it (or executed a command). These messages are pretty helpful and can be used in many instances where you'd only like the user that's interacting to see what's going on.
4
5 Here's how you can do exactly that!
6
7 \include{cpp} ephemeral.cpp
8
9 That's it! If everything went well, it should look like this:
10
11 \image html user_only_messages_image.png