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
stringInput string.
splittype
SplitTypeHow to split input string.
embedbase
DiscordEmbedBuilderBase embed for output embeds.
Returns
- IEnumerable<Page>