Fix example of documentation (#2594)
This commit is contained in:
@@ -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(...);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user