feat: added web server with currently playing song
This commit is contained in:
parent
1a4986f294
commit
7f16452a99
12 changed files with 847 additions and 9 deletions
|
@ -232,6 +232,11 @@ func (b *Bot) leaveVoiceChannel() {
|
|||
}
|
||||
}
|
||||
|
||||
// GetSubsonicClient returns the Subsonic client
|
||||
func (b *Bot) GetSubsonicClient() *subsonic.Client {
|
||||
return b.subsonic
|
||||
}
|
||||
|
||||
// IsPlaying returns true if the bot is currently playing music
|
||||
func (b *Bot) IsPlaying() bool {
|
||||
b.mu.Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue