discordblog

package
v1.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL