diff --git a/docs/guides/commands/samples/command_handler.cs b/docs/guides/commands/samples/command_handler.cs index 6b5d4ad2b..254e7fdc0 100644 --- a/docs/guides/commands/samples/command_handler.cs +++ b/docs/guides/commands/samples/command_handler.cs @@ -53,7 +53,7 @@ public class Program var context = new CommandContext(client, message); // Execute the command. (result does not indicate a return value, // rather an object stating if the command executed successfully) - var result = await commands.ExecuteAsync(context, argPos, service); + var result = await commands.ExecuteAsync(context, argPos, services); if (!result.IsSuccess) await context.Channel.SendMessageAsync(result.ErrorReason); }