コード例 #1
0
        protected async Task SendPaginatedEmbedAsync(PaginatedEmbed embed)
        {
            if (PaginationService == null)
            {
                throw new InvalidOperationException("Paginated embed requires PaginationService");
            }

            await PaginationService.SendPaginatedMessage(embed, async embed => await ReplyAsync(embed: embed));
        }