mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-11 01:22:48 +00:00
feat: add player controls to uploaded clips on stats page
This commit is contained in:
@@ -185,7 +185,7 @@ func (conn *AudioConnection) PlayAudio(soundName string, m *discordgo.MessageCre
|
||||
// summon bot to channel if new message passed in
|
||||
if m != nil {
|
||||
conn.summon(m)
|
||||
} else if !conn.VoiceConnection.Ready {
|
||||
} else if conn.VoiceConnection == nil || !conn.VoiceConnection.Ready {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user