Table of Contents

Method EditResponseAsync

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

EditResponseAsync(DiscordWebhookBuilder, IEnumerable<DiscordAttachment>)

Edits the interaction response.

public Task<DiscordMessage> EditResponseAsync(DiscordWebhookBuilder builder, IEnumerable<DiscordAttachment> attachments = null)

Parameters

builder DiscordWebhookBuilder

The data to edit the response with.

attachments IEnumerable<DiscordAttachment>

Attached files to keep.

Returns

Task<DiscordMessage>