Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Discord.Addons.Paginator/PaginationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ internal async Task OnReactionAdded(Cacheable<IUserMessage, ulong> messageParam,
public class PaginatedMessage
{
public PaginatedMessage(IEnumerable<string> pages, string title = "", Color? embedColor = null, IUser user = null, AppearanceOptions options = null)
=> new PaginatedMessage(pages.Select(x => new Page { Description = x }), title, embedColor, user, options);
: this(pages.Select(x => new Page { Description = x }), title, embedColor, user, options)
{
}
public PaginatedMessage(IEnumerable<Page> pages, string title = "", Color? embedColor = null, IUser user = null, AppearanceOptions options = null)
{
var embeds = new List<Embed>();
Expand Down