#Change response to non-ephemeral message
1 messages · Page 1 of 1 (latest)
From what I know you can only reply(Followup) with an ephemeral message not change a previous message into one.
I've tried this but it throws an exception
Discord.Net.HttpException: The server responded with error 10015: Unknown Webhook
at Discord.Net.Queue.RequestBucket.SendAsync(RestRequest request)
at Discord.Net.Queue.RequestQueue.SendAsync(RestRequest request)
at Discord.API.DiscordRestApiClient.SendInternalAsync(String method, String endpoint, RestRequest request)
at Discord.API.DiscordRestApiClient.SendJsonAsync[TResponse](String method, String endpoint, Object payload, BucketId bucketId, ClientBucketType clientBucket, RequestOptions options)
at Discord.API.DiscordRestApiClient.CreateInteractionFollowupMessageAsync(CreateWebhookMessageParams args, String token, RequestOptions options)
at Discord.Rest.InteractionHelper.SendFollowupAsync(BaseDiscordClient client, CreateWebhookMessageParams args, String token, IMessageChannel channel, RequestOptions options)
at Discord.WebSocket.SocketMessageComponent.FollowupAsync(String text, Embed[] embeds, Boolean isTTS, Boolean ephemeral, AllowedMentions allowedMentions, MessageComponent components, Embed embed, RequestOptions options)
at PierBot.Modules.ButtonsHandler.HandleRPSButtons(SocketMessageComponent cpt, String userOptId) in F:\Documents\csharp\PierBot\Modules\ButtonsHandler.cs:line 66
at PierBot.Modules.ButtonsHandler.ButtonIdHandler(SocketMessageComponent cpt) in F:\Documents\csharp\PierBot\Modules\ButtonsHandler.cs:line 15
at Discord.EventExtensions.InvokeAsync[T](AsyncEvent`1 eventHandler, T arg)
at Discord.WebSocket.DiscordSocketClient.TimeoutWrap(String name, Func`1 action)
You can not change a message that is already an ephemeral one, you would have to send an entirely new one
Well you cannot change it to a none ephemeral message
Ok only this one works