diff --git a/docs/guides/samples/command_handler.cs b/docs/guides/samples/command_handler.cs index 42dc47f17..71869415b 100644 --- a/docs/guides/samples/command_handler.cs +++ b/docs/guides/samples/command_handler.cs @@ -50,7 +50,7 @@ public class Program // rather an object stating if the command executed succesfully) var result = await commands.ExecuteAsync(context, argPos, map); if (!result.IsSuccess) - await msg.Channel.SendMessageAsync(result.ErrorReason); + await context.Channel.SendMessageAsync(result.ErrorReason); } -} \ No newline at end of file +}