Matte
DIAdiscord.js - Imagine a bot
•Created by guy on 1/25/2024 in #djs-voice
Users in voice channel
no. You will have to record each member individually
3 replies
DIAdiscord.js - Imagine a bot
•Created by @flexyz on 8/29/2023 in #djs-voice
createAudioResource()
yes
15 replies
DIAdiscord.js - Imagine a bot
•Created by @flexyz on 8/29/2023 in #djs-voice
createAudioResource()
you could use a server just if youd happen to have one. Otherwise if youre just testing locally just do it all there.
15 replies
DIAdiscord.js - Imagine a bot
•Created by @flexyz on 8/29/2023 in #djs-voice
createAudioResource()
audioResourse is just a djs specific thing that can be played by an audioPlayer
15 replies
DIAdiscord.js - Imagine a bot
•Created by @flexyz on 8/29/2023 in #djs-voice
createAudioResource()
createAudioResouce()
will accept a direct link or path to a file along with a readable stream. I wouldnt try storing audio to a database. Rather just store it in a file locally or on a server.15 replies
DIAdiscord.js - Imagine a bot
•Created by l3ktu on 7/22/2023 in #djs-voice
i'm allowed to create a spotify music bot on discord?
thanks, you too
24 replies
DIAdiscord.js - Imagine a bot
•Created by l3ktu on 7/22/2023 in #djs-voice
i'm allowed to create a spotify music bot on discord?
im not familiar with that but id assume it just searches the song up on youtube with the spotify song metedata
24 replies
DIAdiscord.js - Imagine a bot
•Created by l3ktu on 7/22/2023 in #djs-voice
i'm allowed to create a spotify music bot on discord?
bots that i know which used to implement that used youtube
24 replies
DIAdiscord.js - Imagine a bot
•Created by l3ktu on 7/22/2023 in #djs-voice
i'm allowed to create a spotify music bot on discord?
you will still need to get the audio from somewhere
24 replies
DIAdiscord.js - Imagine a bot
•Created by l3ktu on 7/22/2023 in #djs-voice
i'm allowed to create a spotify music bot on discord?
Rythm was shut down by youtube as they were violating youtubes tos
24 replies
DIAdiscord.js - Imagine a bot
•Created by l3ktu on 7/22/2023 in #djs-voice
i'm allowed to create a spotify music bot on discord?
bots that support spotify links just use the song metadata from spotify to find the song on youtube or some other source.
24 replies
DIAdiscord.js - Imagine a bot
•Created by l3ktu on 7/22/2023 in #djs-voice
i'm allowed to create a spotify music bot on discord?
spotify api does not support streaming
24 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
dont remember the exact properties so double check that
26 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
iirc buffer.lenght could give some information
26 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
those seem right
26 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
the error was emitted by prism-media (which discord.js uses internally for audio encoding and decoding) when it was trying to spawn a new ffmpeg process.
26 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
it shouldnt
26 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
unfortunately im not too familiar with voice receiving.
If you could possibly find out how much data is being decoded/encoded there? as i how long the audio buffers are.
26 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
so it was a one time only error? or does it occur often?
26 replies
DIAdiscord.js - Imagine a bot
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
that error normally indicates that the data youre passing is too big.
What exactly are you trying to play?
26 replies