Voice recognition works for personal chat but not in groups #88
Labels
No labels
bug
dependencies
duplicate
enhancement
help wanted
invalid
javascript
question
symphony
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/voicy#88
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've provided
GermanandEnglishin theWIT_LANGUAGESenv variable.When I start a chat with the bot directly, the voice recognition works fine.
If I invite my bot into a (my) group, voicy prints a message, let me choose the language. I choose it, the engine and voice language but the voice recognition does not work. No response from the bot, nothing in the logs, even when I set to
ENVIRONMENT=developmentTry setting up Voicy in the group as well :) or try other voice recognition engines in /engine
How exactly?
I've tried it. The enginie doesn't matter, I've tried all of them.
My voicy bot seems to be not triggered by a voice message at all. Only by commands like
/engine, etc.@timaschew just like you set it up in private messages :) try also turning off /silent and turning on /files
I did same setup for private chat and for group chat. I've also tried to enable and disable /silent and /files. I've even created another group, but nothing helps.
Can you please point me to the source code where the bot listen for a voice message?
Maybe the bot needs some special configuration via BotFather?
I found the code
bot.on([':voice', ':video_note'], handleAudio)I've added someconsole.loglines to the handler. In a group chat the handler is NOT called if I do a voice message.Found the issue, /setprivacy needs to be disabled.