Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lyrics ¶
type Lyrics struct { SourceName string `json:"sourceName"` Text string `json:"text"` Lines []Line `json:"lines"` Plugin lavalink.RawData `json:"plugin"` }
func GetCurrentTrackLyrics ¶
func GetCurrentTrackLyrics(ctx context.Context, client disgolink.RestClient, sessionID string, guildID snowflake.ID, skipTrackSource bool) (*Lyrics, error)
GetCurrentTrackLyrics returns the lyrics of the current track being played in the guild. If the current track has no lyrics, it will return nil.
Click to show internal directories.
Click to hide internal directories.