diff --git a/docs/guides/int_basics/application-commands/context-menu-commands/receiving-context-menu-command-events.md b/docs/guides/int_basics/application-commands/context-menu-commands/receiving-context-menu-command-events.md index d4e973d0..c38feffe 100644 --- a/docs/guides/int_basics/application-commands/context-menu-commands/receiving-context-menu-command-events.md +++ b/docs/guides/int_basics/application-commands/context-menu-commands/receiving-context-menu-command-events.md @@ -18,16 +18,16 @@ client.UserCommandExecuted += UserCommandHandler; public async Task MessageCommandHandler(SocketMessageCommand arg) { - Console.Writeline("Message command received!"); + Console.WriteLine("Message command received!"); } public async Task UserCommandHandler(SocketUserCommand arg) { - Console.Writeline("User command received!"); + Console.WriteLine("User command received!"); } ``` User commands contain a SocketUser object called `Member` in their data class, showing the user that was clicked to run the command. Message commands contain a SocketMessage object called `Message` in their data class, showing the message that was clicked to run the command. -Both return the user who ran the command, the guild (if any), channel, etc. \ No newline at end of file +Both return the user who ran the command, the guild (if any), channel, etc.