diff --git a/docs/guides/int_framework/samples/intro/context.cs b/docs/guides/int_framework/samples/intro/context.cs index 1bd164d3f..5547cca52 100644 --- a/docs/guides/int_framework/samples/intro/context.cs +++ b/docs/guides/int_framework/samples/intro/context.cs @@ -7,8 +7,8 @@ discordClient.ButtonExecuted += async (interaction) => public class MessageComponentModule : InteractionModuleBase> { [ComponentInteraction("custom_id")] - public async Command() + public async Task Command() { - Context.Interaction.UpdateAsync(...); + await Context.Interaction.UpdateAsync(...); } }