# Play a sound

> Play a soundboard sound in the voice channel the bot is in.

Source: https://docs.buildcord.dev/nodes/voice/play-sound/

`voice.soundboard` plays a soundboard sound, as a member pressing it would.

## Settings

| Setting | What it does |
| --- | --- |
| Sound | One of the server's soundboard sounds, or Discord's own, by name or ID. |
| Voice channel | Where to play it. Empty is the channel the bot last [joined](https://docs.buildcord.dev/nodes/voice/join) in this server. |

## Ways out

`out`. Turn on **If it fails** for a red way out, taken when there's no such sound or the bot isn't connected.

## Notes

- The bot has to be in the channel: join first.
- It needs the Use Soundboard permission, and Use External Sounds for a sound from another server.

## Example

A `/airhorn` command: join `{user.voiceChannel}`, play `airhorn`, [wait](https://docs.buildcord.dev/nodes/flow-control/wait) 5 seconds, leave.

## Related

- [Join a voice channel](https://docs.buildcord.dev/nodes/voice/join)
