| 1 |
\page private-messaging Sending private messages |
| 2 |
|
| 3 |
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! |
| 4 |
|
| 5 |
\note This tutorial makes use of callbacks. For more information about that, visit \ref callback-functions "Using Callback Functions". |
| 6 |
|
| 7 |
\include{cpp} private_messaging.cpp |
| 8 |
|
| 9 |
That's it! Now, you should have something like this: |
| 10 |
|
| 11 |
\image html privatemessageexample.png |
| 12 |
\image html privatemessageexample2.png |