djs-voice

1174 threads · Page 3 of 24

turns off automatically when the song is almost finished, the song is in flac format, I noticed that 20 messages
Play audio problem 83 messages
patent jewel Hello, I have a problem with the "@discordjs/voice" package, and the problem is in playing the sound. Well, to understan...
ffmpeg potential memory leak 8 messages
olive trout Hello, so I'm here because I m searching what's causing these ffmpeg execution to be kept 2 hours in memory. So as I k...
How do you get a voice channel's user list? 2 messages
ancient torrent Hi, I'm building a bot that: can join a voice channel on slash command and: start recording the list of users that are i...
AudioPlayer goes from buffering -> playing -> idle and warns that resource is not playable 8 messages
wide river Hi, I have troubles for the last months with playback of resources. The source is available at https://github.com/manuel...
Live playback of audio coming from discord causes crackling issue 7 messages
topaz scroll I want to play incoming discord audio directly in the speakers. Here is my code so far: ```js const connection = joinVo...
Playing a single audio 3 messages
wraith dust How can I write a code for the bot to join a vc and play just one mp3 and then leave? How can I do that?
I can't get the audio to start 12 messages
wooden steeple I have the bot that connects to the voice channel but does not start the audio, I leave the complete code and some logs ...
After disconnecting once, audio starts audibly buffering 13 messages
mortal osprey Here is part of my `/play` command: ```ts const connection = joinVoiceChannel({ channelId: interaction.member.voice...
member.voice.channelId undefined on client ready. 7 messages
tacit jetty hola senores, any reason why my bot can't "see" a member's voice channel data when it turns on? for example, the channel...
DAVE Protocol 2 messages
RTC region Null 3 messages
nimble fern https://cdn.uira.xyz/acoustic/uEPKgU.png only happens when u select a automatic region aslong as u assign a region it ...
Type 'InternalDiscordGatewayAdapterCreator' is not assignable to type 'DiscordGatewayAdapterCreator' 6 messages
unborn ocean ```json // package.json "dependencies": { "@discordjs/voice": "^0.17.0", "@prisma/client": "^5.20.0", "disco...
Trying to play a clicking sound effect in a voice channel, however I get this instead. 33 messages
onyx badger Hi, My @discordjs/voice version is 0.7.5 and I'm having a slight issue with playing it. I've tried to install ffmpeg by...
how to set voice channel status? 6 messages
fluid quest i looked through the documentation and cant find a way to set voice channel status unless i missed seeing it is there an...
need help with this code 39 messages
haughty stream Hey, I’m tryna make a bot that checks for a specific keyword within someone’s custom status and if they have the keyword...
AbortError: the operation was aborted 16 messages
sweet snow I've been getting this error for a while now (I'm on the latest DJS version 0.17.0 atm but I believe this has been occur...
The bot join and then disconects when there is a new vc to join (diff guild) 3 messages
forest pilot /
voice is playing on local but not on server 18 messages
harsh pagoda Hi Ive got a problem with this code: ```js if(interaction.commandName === 'musicradio') { const { createAudioPlaye...
YTDL AudioPlayer.play gives error 2 messages
rigid bobcat Hello! Trying to replicate a pseudo music bot from links with YTDL The bot enters in channel, but then returns the error...
how to know if the bot is in the vc? 17 messages
forest pilot a
Bot plays audio sped up 9 messages
warped orchid ```ts const player = createAudioPlayer(); const connection = joinVoiceChannel({ channelId: channel!.id, ...
Bot disconnects after rejoining. 22 messages
floral basalt I'm changing vc of my bot but it immediately disconnects after rejoining... how should i fix it ? I have enabled `Gatewa...
Random latency spikes? 2 messages
lime viper Is something not optimized in my code? I'm trying to allow two server vcs to connect (by transferring the audio of one t...
opus
player not work 15 messages
crimson pelican ```js try { const VoiceConnection = joinVoiceChannel({ channelId: newState.channelId, ...
opusscript
Voice reqs 5 messages
visual granite I tried to test a tts code and looks like djs vooice requires ffmpeg, i cant download anything rn so im curious if there...
Receiving this error when I'm trying to join the voice call. 2 messages
onyx badger Hi, I'm trying to use the example as used in https://github.com/discordjs/voice-examples/blob/main/recorder/src/, howeve...
opus
How can I have a "real time conversation" as a bot? 30 messages
onyx badger Hi, I'm trying to pretty much have a real-time conversation with a bot (powered by AI), and I'm trying to figure out ho...
How to make a slash command allowed to be used in user dms and external servers 8 messages
hexed plume Title says it all, I have no clue on how to pull something like that off. Can someone point me in the right direction? T...
Getting this error when booting up the bot. 25 messages
hasty token package.json: ```js { "name": "someshit", "version": "1.0.0", "description": "", "main": "index.js", ...
How to include silence in vc recording 8 messages
shut coyote I’m trying to record a vc, I’m using this and the module mediaplex for the opus encoder: ```js const listenStream = con...
running multiple bots with one script 14 messages
tepid arch I tried running about 14 bots with one script and make them join voice channels and tried using worker threads to run ea...
Voice Typescript error. 6 messages
golden dawn I have a command that i did in js back in the day. I dont even know how djs voice works exactly but ik it worked without...
connecting bots to vc 6 messages
tepid arch Can i keep more than one bot connected to different VC's using one script ?
Recording the whole audio in a VC 5 messages
Seek option removed 6 messages
tight junco In discord.js v12 there was an option to seek the audio stream while playing it like this: ```ts connection.play(stream,...
Trying to record VC but the out file is static 6 messages
twilit musk everything works as expect in the console but the out .pmc when converted is only a short clip of static.
How can I record voice from a VC using discord.js? 210 messages
hot nova I want to record voice from a specific voice channel, I already tried to do it many times but didn't find the solution, ...
opus
Bot wont talk & no error, how do i debug? 40 messages
teal ingot (selected opus tag bc i had to, to post idk what it is) how do i debug this? since it says nothing in logs and doesnt e...
opus
Proper disposal of a PlayerSubscription, and AudioPlayer 5 messages
willow spire Really stupid question here however, I need to know what the safe and proper way to do this is. Does calling .destroy() ...
How to properly play audio/webm;codecs=opus buffers to a voice channel sent via WebSocket? 14 messages
cunning vector Trying to broadcast a stream of audio buffers being recorded as `audio/webm;codecs=opus` using `MediaRecorder` to a vo...
opus
Is this the correct way for the bot to clear cache 2 messages
mint estuary ```if (connection) { connection.destroy(); const cachedConnection = client.voice.adapters.get(interaction.gui...
Getting started with Typescript and discord.js/voice 6 messages
hushed ivy Hi, I presume that discord.js/voice is typescript only. Are there any recommended getting started tutorials for discord...
Voice Stream for personal radio 21 messages
grizzled yew Hello, I want to create a radio, I would like it to be managed and animated from discord. how can i get what all the us...
Checking the is bot already joined the voice channel 3 messages
prisma fossil Hello is has any way to achieve this without using `GuildVoiceStates` intent? And also i want to know does the `JoinVoic...
My bot does not run the audio 3 messages
cold jungle hey my bot works totally fine in my device but when the bot in a server the audio does not play everything is latest ver...
Listening to Player Events + Removing References + player.stop() & Memory Leaks 38 messages
sweet snow Should I be concerned about memory leaks if I open a new listener to listen to the player 'playing', 'idle' and 'error' ...
Bot is not playing 6 messages
pseudo hornet Code: ```ts const player = createAudioPlayer({ behaviors: { noSubscriber: NoSubscriberBehavior.Stop, }, ...
Mp3 audio not playing 30 messages
dusty bluff Hello i followed various guides and threads in this server to create a command !play that enables the bot to stream an m...
кто Русские? 2 messages
void void все сюда!