Documentation ¶ Index ¶ func RunPoller(session *discordgo.Session, channel int64, interval time.Duration) type Post func GetNewestPosts(limit int) []*Post func GetPostsAfter(after int64, limit int) []*Post func GetPostsBefore(before int64, limit int) []*Post Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RunPoller ¶ func RunPoller(session *discordgo.Session, channel int64, interval time.Duration) Types ¶ type Post ¶ type Post struct { Message *discordgo.Message RenderedBody template.HTML ParsedTimestamp time.Time } func GetNewestPosts ¶ func GetNewestPosts(limit int) []*Post func GetPostsAfter ¶ func GetPostsAfter(after int64, limit int) []*Post func GetPostsBefore ¶ func GetPostsBefore(before int64, limit int) []*Post Source Files ¶ View all Source files discordblog.go Click to show internal directories. Click to hide internal directories.