Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageReader ¶
type MessageReader interface {
ChannelMessages(channelID string, limit int, beforeID, afterID, aroundID string) (st []*discordgo.Message, err error)
}
Intentionally shaped to fit discordgo.Session, but left flexible in case someone wants to fake/stub it.
type Scribe ¶
type Scribe struct {
// contains filtered or unexported fields
}
func (*Scribe) OnNewMessage ¶
type SlurpMessagesResult ¶
type SlurpMessagesResult struct { Complete bool // true if all messages are in the database MessagesRead int // number of messages read from Discord BeginningReached bool // true if the beginning of the channel has been reached during this read ReadingEarlier bool // true if was reading earlier messages }
Click to show internal directories.
Click to hide internal directories.