From 0bf65b94902f3e652d7fb91a19c985c0602e8803 Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 9 Feb 2023 22:48:52 +0100 Subject: [PATCH] Fix example of documentation --- 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(...); } }