Documentation ¶
Index ¶
- func FetchAllPlaylistItems(playlistURL *url.URL) ([]*youtube.PlaylistItem, error)
- func FindUserVoiceState(session *discordgo.Session, userid string) (*discordgo.VoiceState, error)
- func GenerateAcronym(text string) string
- func GenerateAutoPlaylistQueueItem(videoIdsToAvoid []string) (*youtube.PlaylistItem, error)
- func GetAutoPlaylistCacheLength() int
- func GetChannelVoiceStates(session *discordgo.Session, guildID, channelID string) []*discordgo.VoiceState
- func SanitiseSongTitleTTS(title string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchAllPlaylistItems ¶ added in v0.6.0
FetchAllPlaylistItems get all the items of a playlist
func FindUserVoiceState ¶ added in v0.5.0
func GenerateAcronym ¶
GenerateAcronym generate acronym from a sentence
func GenerateAutoPlaylistQueueItem ¶
GenerateAutoPlaylistQueueItem get a new item from the auto playlist
func GetAutoPlaylistCacheLength ¶ added in v0.6.0
func GetAutoPlaylistCacheLength() int
func GetChannelVoiceStates ¶ added in v0.5.0
func GetChannelVoiceStates(session *discordgo.Session, guildID, channelID string) []*discordgo.VoiceState
func SanitiseSongTitleTTS ¶
SanitiseSongTitleTTS process a song title for TTS reading
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.