Fix example of documentation (#2594)

This commit is contained in:
Jan
2023-02-09 22:59:17 +01:00
committed by GitHub
parent 6ef52f1dd8
commit 71e9ecb21e

View File

@@ -7,8 +7,8 @@ discordClient.ButtonExecuted += async (interaction) =>
public class MessageComponentModule : InteractionModuleBase<SocketInteractionContext<SocketMessageComponent>> public class MessageComponentModule : InteractionModuleBase<SocketInteractionContext<SocketMessageComponent>>
{ {
[ComponentInteraction("custom_id")] [ComponentInteraction("custom_id")]
public async Command() public async Task Command()
{ {
Context.Interaction.UpdateAsync(...); await Context.Interaction.UpdateAsync(...);
} }
} }