public static async Task PaginateAsync(this IUserMessage message, int start, params Embed[] embeds) { List <Page> pages = new List <Page>(embeds.Length); foreach (var item in embeds) { pages.Add(new Page(item)); } await message.PaginateAsync(start, pages.ToArray()); }
public static async Task PaginateAsync(this IUserMessage message, params EmbedBuilder[] embeds) => await message.PaginateAsync(0, embeds);
public static async Task PaginateAsync(this IUserMessage message, int start, params EmbedBuilder[] embeds) => await message.PaginateAsync(start, embeds.Select(x => x.Build()).ToArray());
public static async Task PaginateAsync(this IUserMessage message, params Page[] pages) => await message.PaginateAsync(0, pages);