Table of Contents

Method GeneratePagesInEmbed

Namespace
DSharpPlus.Interactivity
Assembly
DSharpPlus.Interactivity.dll

GeneratePagesInEmbed(string, SplitType, DiscordEmbedBuilder)

Generates pages from a string, and puts them in message embeds.

public static IEnumerable<Page> GeneratePagesInEmbed(string input, SplitType splittype = SplitType.Character, DiscordEmbedBuilder embedbase = null)

Parameters

input string

Input string.

splittype SplitType

How to split input string.

embedbase DiscordEmbedBuilder

Base embed for output embeds.

Returns

IEnumerable<Page>