From 71e9ecb21e7cea05ca300c8d5d942e0a29e00649 Mon Sep 17 00:00:00 2001 From: Jan <49588429+MapManagement@users.noreply.github.com> Date: Thu, 9 Feb 2023 22:59:17 +0100 Subject: [PATCH] Fix example of documentation (#2594) --- docs/guides/int_framework/samples/intro/context.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(...); } }