djs-voice

1170 threads · Page 3 of 24

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...
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...
what does this error mean? 1 messages
scarlet saddle ``` C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:362 this.soc...
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...
998946512144969748
player not work 15 messages
crimson pelican ```js try { const VoiceConnection = joinVoiceChannel({ channelId: newState.channelId, ...
998946620345434174
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...
998946512144969748
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...
Cant play the same audio resource again 1 messages
gray anchor Hello i'm trying to make a bot that plays audio when someone enters the same voice with the bot here is the code https:...
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 ?
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, ...
998946512144969748
Bot wont talk & no error, how do i debug? 39 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...
998946512144969748
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...
998946512144969748
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...
Crashing on connection.destroy(); 1 messages
inland talon ```js async function handleLeaveCommand(interaction) { const connection = getVoiceConnection(interaction.guild.id); ...
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...
how do i find my AUTHORIZED_USER_ID 1 messages
boreal crescent how do i find my AUTHORIZED_USER_ID
1038824730079273010
кто Русские? 2 messages
void void все сюда!
Delete audio resource 10 messages
whole bison I have a simple system where an audio file is created, and then immediately turned into an audio resource. But it seems ...
Audio not playing 7 messages
stuck ridge Hey - I followed the guide for playing audio but nothing is playing for some reason
Error when joining a voice 4 messages