Merge pull request #135 from devandsev/voice-handlers-fix

Fix voice handlers not firing
pull/143/merge
Ian Byrd 6 years ago committed by GitHub
commit 743778f69e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -398,6 +398,11 @@ func (b *Bot) handleMedia(m *Message) bool {
return true
}
if m.Voice != nil {
b.handle(OnVoice, m)
return true
}
if m.Audio != nil {
b.handle(OnAudio, m)
return true

Loading…
Cancel
Save