Skip to content

Cannot play specific soundboard sounds #7817

@Droid00000

Description

@Droid00000

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

  1. Make sure the bot has the :USE_EXTERNAL_SOUNDS or the :ADMINISTRATOR permission in the voice channel's associated guild

  2. Connect to a voice channel

  3. Pick a soundboard sound from another guild your bot is in where sound.available == true

  4. I tried to send the payload below using the send soundboard sound route to voice channel 1414031708432371804 and the API returned a 403 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsyncedSynced to internal tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions