When I started playing music with my player, an error occur.
This is error:
```
AudioPlayerError: Did not find the EBML tag at the start of the stream
at WebmDemuxer._readTag (/home/fyphen/bot/node_modules/prism-media/src/core/WebmBase.js:113:18)
at WebmDemuxer._transform (/home/fyphen/bot/node_modules/prism-media/src/core/WebmBase.js:47:23)...
playing music legally
how can I play music which don't violate?
are there any sources?
I was using youtube and spotify to play the music but turns out they violate discord tos.
please tell me some sources to play music without tos violation....
Play local file
is this enough to play an mp3 file ?
```js
let connection;
connection = await joinVoiceChannel({
channelId: message.member.voice.channelId,...
connection.receiver.createStream in v14
Is there something like
connection.receiver.createStream
in v14?Error when selecting a radio with a selectmenu
Hello to all of you,
I have an error with my bot discord, when I select a radio all goes well, but after several selection I have this error that appears and I do not understand why
```yml
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blob, ReadableStream, WritableStream, Stream, Iterable, AsyncIterable, or Promise or { readable, writable } pair. Received undefined
at new NodeError (node:internal/errors:387:5)...
Speech To Text
What did I need to do a Bot that sends that what I say in a Voice Channel in a Text Channel?
How can I detect when a resource has finished playing?
How can I detect when a resource has finished playing?
DIscord.js v14 Latest, Discord,js/voice latest...
Elapsed audio resource duration
Hello everyone,
I'm currently trying to implement a proper progress bar which displays the playback of the current song.
According to a few questions online, it seems like discord.js used to have a
streamTime
property. It looks like this has been removed for some reason in the next release.
...How to record VC with discord.js voice?
How to record VC with discord.js voice? I already search about it, but I couldn't find anything...
How to handle Audio Receive Stream Pipeline on Connection Destroy (bot disconnected)
This is my code inside my receiver speaking on start event:
```ts
const opusStream = receiver.subscribe(userId, {
end: {
behavior: EndBehaviorType.AfterSilence,...
audio aint working
```
const connection = joinVoiceChannel(
{
channelId: '1055401035599990795',
guildId: '1055401034354266143',...
Metadata for createAudioResource is null
I'm trying to fetch metadata about the Audio Resource (specifically the time length of the audio) however, the metadata property is null. I'd assume this is because I haven't defined anything for the metadata. I'm just not sure of how to actually go about getting the resource duration.
Server mute and unmute
I wanted to know if there was a way to make it server mute and unserver mute itself
How to leave my Bot from a voice channel with djs voice?
How to leave my Bot from a voice channel with djs voice?
How do you write an mp3 or playable file when getting voice-input from an user
```JS
let receiver = connection.receiver
let stream
receiver.speaking.on("start", userid => {
let user = client.users.cache.get(userid)...