No voice join event for users
Woonters opened this issue · 2 comments
Songbird version: 0.4
Rust version (rustc -V): 1.75
Serenity version: 0.12.0
...
Description: There is already an event for a user leaving a channel, but none for
one joining. Is it possible to add this as an event?
To clarify that is not the bot joining a channel, but a user joining a channel the bot is in
...
I can't add a label at the moment (or at least can't find out how), this should be marked feature request
This is something we had before that was sent as a concrete message over the voice gateway. At some point that message stopped being sent on any occasion except the first time a user joins, as far as I can recall. I believe there is another WS payload which might serve a similar function, but we've been burnt before by relying on undocumented opcodes.
Your best bet is to monitor this on the actual gateway half of your bot, where you will receive VoiceStateUpdates
for all users assuming you have the right intents and permissions.