BuildcordDocs

Play a sound

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

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

Settings

SettingWhat it does
SoundOne of the server's soundboard sounds, or Discord's own, by name or ID.
Voice channelWhere to play it. Empty is the channel the bot last joined 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 5 seconds, leave.

On this page