Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InternalError = "Internal error occurred. If this issue persists, please contact the bot developer."
InternalError ...
Functions ¶
This section is empty.
Types ¶
type PagedEmbedBuilder ¶
type PagedEmbedBuilder struct { AuthorIconURL string AuthorName string Title string Color int // contains filtered or unexported fields }
PagedEmbedBuilder ...
func NewEmbedBuilder ¶
func NewEmbedBuilder(title, authorName, authorIconURL string, color int) *PagedEmbedBuilder
NewEmbedBuilder ...
func (*PagedEmbedBuilder) Add ¶
func (p *PagedEmbedBuilder) Add(title, desc string, fields []discord.EmbedField) *PagedEmbedBuilder
Add ...
func (*PagedEmbedBuilder) Build ¶
func (p *PagedEmbedBuilder) Build() []discord.Embed
Build finalizes the embed page numbers and returns the slice
Click to show internal directories.
Click to hide internal directories.