From f7f2348874ecda357630fa737388dffb5fd37b8e Mon Sep 17 00:00:00 2001 From: Joshi234 <46032261+Joshi234@users.noreply.github.com> Date: Thu, 18 Apr 2024 23:55:53 +0200 Subject: [PATCH] Fix that the initial message in the pagination doesn't use the footer format --- .../Extensions/FeedbackServiceExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Remora.Discord.Pagination/Extensions/FeedbackServiceExtensions.cs b/Remora.Discord.Pagination/Extensions/FeedbackServiceExtensions.cs index a1079191f6..3d960c60b4 100644 --- a/Remora.Discord.Pagination/Extensions/FeedbackServiceExtensions.cs +++ b/Remora.Discord.Pagination/Extensions/FeedbackServiceExtensions.cs @@ -93,7 +93,7 @@ public static async Task> SendPaginatedMessageAsync var send = await feedback.SendEmbedAsync ( channel, - pages[0] with { Footer = new EmbedFooter($"Page 1/{pages.Count}") }, + data.GetCurrentPage(), options, ct ); @@ -160,7 +160,7 @@ public static async Task> SendContextualPaginatedMessageAsync var send = await feedback.SendContextualEmbedAsync ( - pages[0] with { Footer = new EmbedFooter($"Page 1/{pages.Count}") }, + data.GetCurrentPage(), options, ct ); @@ -226,7 +226,7 @@ public static async Task> SendPrivatePaginatedMessageAsync var send = await feedback.SendPrivateEmbedAsync ( user, - pages[0] with { Footer = new EmbedFooter($"Page 1/{pages.Count}") }, + data.GetCurrentPage(), options, ct );