Documentation ¶
Index ¶
- Variables
- func InitTimelines(ds *discordgo.Session)
- func Scan(ds *discordgo.Session, tc *twitter.Client, ts *config.TweetSyncConfig)
- func ScanTimeline(ds *discordgo.Session, tc *twitter.Client, ts *config.TweetSyncConfig)
- func SyncedTweetToEmbed(st models.SyncedTweet) *discordgo.MessageEmbed
- func TweetToEmbed(tweet *twitter.Tweet, translation string, translators []string) *discordgo.MessageEmbed
- func TweetToEmbedOld(tweet *twitter.Tweet, translation string, translators []string) *discordgo.MessageEmbed
- func WrapTranslation(translation string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var TwitterTimeFormat = "Mon Jan 2 15:04:05 +0000 2006"
Functions ¶
func InitTimelines ¶
InitTimelines initialize all streams for Tweet streaming
func ScanTimeline ¶
ScanTimeline polls a stream of Tweets and posts them in the specified channel
func SyncedTweetToEmbed ¶
func SyncedTweetToEmbed(st models.SyncedTweet) *discordgo.MessageEmbed
func TweetToEmbed ¶
func TweetToEmbedOld ¶
func WrapTranslation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.