#Changing response messages via FollowupAsync (ENG and RU)

1 messages · Page 1 of 1 (latest)

weak cipher
#

Hello all.
Is it possible to modify a message that was output through a combination of DeferAsync and FollowupAsync?

Привет всем.
Возможно ли провести изменение сообщения, которое было выведено через комбинацию DeferAsync и FollowupAsync?


            var resultListEmbed = new List<Embed>();

            var resultAddBlacklist = await _blacklistService.AddServerBlacklist(id, reason, Context.User.ToString());

            resultListEmbed.Add(resultAddBlacklist.Build());

            var result = await FollowupAsync(embeds: resultListEmbed.ToArray(),
options: RateLimitHelper.GetRequestOptions());

            var resultSendMessage = await _messageService.SendMessageServerOwnerBlacklisting(Convert.ToUInt64(id));
            resultListEmbed.Add(resultSendMessage.Build());

            await result.ModifyAsync(r => r.Embeds = resultListEmbed.ToArray());```
placid lagoon
#

You can't modify ephemeral messages