Files
BumbleCee/DPP-master/docpages/example_programs/the_basics/private-messaging.md
2023-12-20 19:45:25 +09:00

12 lines
618 B
Markdown

\page private-messaging Sending private messages
Sometimes it's simply not enough to ping someone in a server with a message, and we get that. That's why you can private message people! This tutorial will cover how to make a command that will either message the author of the command or message a specified user!
\note This tutorial makes use of callbacks. For more information about that, visit \ref callback-functions "Using Callback Functions".
\include{cpp} private_messaging.cpp
That's it! Now, you should have something like this:
\image html privatemessageexample.png
\image html privatemessageexample2.png