-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
When attempting to play certain external soundboard sounds, the API responds with an error. There is one specific external soundboard sound that my bot can play, but using any other external soundboard sound results in a 403
.
To clarify, this does not affect the default soundboard sounds
Steps to Reproduce
-
Make sure the bot has the
:USE_EXTERNAL_SOUNDS
or the:ADMINISTRATOR
permission in the voice channel's associated guild -
Connect to a voice channel
-
Pick a soundboard sound from another guild your bot is in where
sound.available == true
-
I tried to send the payload below using the send soundboard sound route to voice channel
1414031708432371804
and the API returned a403
error:
{ "sound_id": 1358519308409634988, "source_guild_id": 1252204883533103145 }
Here's a bit of a pseudo-code example showing what I did:
sounds = data.bot.servers.values.flat_map do |server|
server.soundboard_sounds.select { |sound| sound.available? == true }
end
sounds.shuffle[0].play(TEST_VOICE_CHANNEL_ID)
Expected Behavior
Since the soundboard sound I'm trying to play is available
and the bot is in the server it's from, I expect to be able to use the sound.
Current Behavior
The API returns a 403
error when using any external soundboard sound, except for this specific external sound: 1358519542791536812
Screenshots/Videos
No response
Client and System Information
Browser: N/A
Client: N/A
OS: N/A