Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player interface { Play(ctx context.Context, query, userID, guildID, channelID string) (*pkg.Song, error) Skip(ctx context.Context) SetLoop(ctx context.Context, b bool) LoopStatus() bool NowPlaying() *pkg.Song SongStatus() pkg.SessionStats Disconnect(ctx context.Context) // Random(ctx context.Context, n int) ([]*pkg.Song, error) SetRadio(ctx context.Context, b bool, guildID, channelID string) error RadioStatus() bool }
Click to show internal directories.
Click to hide internal directories.