From 1f4ffd3279685b7d8ac8cb6962cec912bb9f3ea7 Mon Sep 17 00:00:00 2001 From: Raiden Shogun <96011415+Almighty-Shogun@users.noreply.github.com> Date: Wed, 23 Feb 2022 19:32:05 +0100 Subject: [PATCH] Changed `ExecuteAsync` to `ExecuteCommandAsync` `_interactionService.ExecuteAsync(ctx, serviceProvider);` cannot be executed because the method `ExecuteAsync` does not exists. --- docs/guides/int_framework/samples/intro/context.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/int_framework/samples/intro/context.cs b/docs/guides/int_framework/samples/intro/context.cs index 5976ffc5c..1bd164d3f 100644 --- a/docs/guides/int_framework/samples/intro/context.cs +++ b/docs/guides/int_framework/samples/intro/context.cs @@ -1,7 +1,7 @@ discordClient.ButtonExecuted += async (interaction) => { var ctx = new SocketInteractionContext(discordClient, interaction); - await _interactionService.ExecuteAsync(ctx, serviceProvider); + await _interactionService.ExecuteCommandAsync(ctx, serviceProvider); }; public class MessageComponentModule : InteractionModuleBase>