Piecewise

Build chat bots with blocks

play audio at location (sound) in channel (channel)

In Discord → Voice

Jump to block

Play audio a channel.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
sound String The location of the source image for this audio. It can be a path on the filesystem (i.e. C:\Users\Piecewise\sound.mp3), or a URL (https://piecewise.im/stream.m3u8).
channel channel The voice channel to play this audio in.

Output

void - This is a statement with no outputs