Skip to content

Commit

Permalink
Fix that the initial message in the pagination doesn't use the footer…
Browse files Browse the repository at this point in the history
… format
  • Loading branch information
Joshi234 committed Apr 18, 2024
1 parent a1169a7 commit f7f2348
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static async Task<Result<IMessage>> SendPaginatedMessageAsync
var send = await feedback.SendEmbedAsync
(
channel,
pages[0] with { Footer = new EmbedFooter($"Page 1/{pages.Count}") },
data.GetCurrentPage(),
options,
ct
);
Expand Down Expand Up @@ -160,7 +160,7 @@ public static async Task<Result<IMessage>> SendContextualPaginatedMessageAsync

var send = await feedback.SendContextualEmbedAsync
(
pages[0] with { Footer = new EmbedFooter($"Page 1/{pages.Count}") },
data.GetCurrentPage(),
options,
ct
);
Expand Down Expand Up @@ -226,7 +226,7 @@ public static async Task<Result<IMessage>> SendPrivatePaginatedMessageAsync
var send = await feedback.SendPrivateEmbedAsync
(
user,
pages[0] with { Footer = new EmbedFooter($"Page 1/{pages.Count}") },
data.GetCurrentPage(),
options,
ct
);
Expand Down

0 comments on commit f7f2348

Please sign in to comment.