/play_file command: play an audio file in voice
/play_file plays an audio file you attach to the command, such as a recording, a song you made, or a track that isn’t on any streaming site. Attach the file in the command’s file box and send it: Bypass plays it in your voice channel, or adds it to the queue if something is already playing.
Common formats work, including MP3, M4A, AAC, WAV, FLAC, OGG and Opus, along with less common ones like AIFF, WMA and WebM. The reply shows the file’s format, size and length, and its position when it was queued. Files can be up to 25 MB.
Options
| Option | What it does |
|---|---|
fileFile · required | The audio file. Accepted extensions: .mp3, .m4a, .aac, .wav, .flac, .ogg, .opus, .wma, .aiff, .ape, .ac3, .dts, .alac, .oga, .webm, .3gp, .amr, .tta, .mka, .wv and .m4b. |
titleText · optional | A name to show in the reply instead of the file name. |
Examples
/play_file file:demo.mp3- Plays demo.mp3 in your voice channel, or queues it, and shows its format, size and length.
/play_file file:mix.flac title:Friday mix- The same, with Friday mix shown in the reply instead of the file name.
/play_file file:notes.pdf- Refused: only audio file types are accepted.
Who can use it
- It follows the server’s "Add songs" rule (everyone by default).
- You need to be in a voice channel the server allows, and Bypass needs the Connect and Speak permissions.
- If Bypass is playing for people in another voice channel, it refuses and names that channel.
- Admins can also turn a command off for members without Manage Server (
/commanddisable), keep commands to some text channels (/settings textchannels), and block members from the bot (/settings blacklist).
Premium
Not needed.
Limits
- 25 MB per file.
- The server’s queue size limit applies.
- Cooldown: 3 seconds per member.