Documentation ¶
Index ¶
- Constants
- type File
- type PagedEmbedMessage
- type Paginator
- func (p *Paginator) EmbedPaginator(botID string, channelID string, userID string, dm bool, ...) error
- func (p *Paginator) FieldsPaginator(botID string, channelID string, userID string, embed *discordgo.MessageEmbed, ...) error
- func (p *Paginator) HandleMessageCreate(messageCreate *discordgo.MessageCreate) error
- func (p *Paginator) HandleMessageReactionAdd(messageReactionAdd *discordgo.MessageReactionAdd) error
- func (p *Paginator) ImagePaginator(botID string, channelID string, userID string, embed *discordgo.MessageEmbed, ...) error
- type Type
Constants ¶
View Source
const ( LeftArrowEmoji = "⬅" RightArrowEmoji = "➡" CloseEmoji = "🇽" NumbersEmoji = "🔢" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PagedEmbedMessage ¶
type Paginator ¶
type Paginator struct {
// contains filtered or unexported fields
}
func NewPaginator ¶
func (*Paginator) EmbedPaginator ¶
func (*Paginator) FieldsPaginator ¶
func (p *Paginator) FieldsPaginator( botID string, channelID string, userID string, embed *discordgo.MessageEmbed, fieldsPerPage int, dm bool, ) error
CreatePagedMessage creates the paged messages
func (*Paginator) HandleMessageCreate ¶
func (p *Paginator) HandleMessageCreate(messageCreate *discordgo.MessageCreate) error
func (*Paginator) HandleMessageReactionAdd ¶
func (p *Paginator) HandleMessageReactionAdd(messageReactionAdd *discordgo.MessageReactionAdd) error
Click to show internal directories.
Click to hide internal directories.