djs-voice

1170 threads · Page 14 of 24

Keeps autopausing 3 messages
lyric wing How do I prevent this? It keeps buffering then autopausing stopping the playback
How can I record audio of a voicchannel 4 messages
analog nymph I want to record of a voice channel but don't know how all tutorials are of v12 or v13 but I am using v14
How to seek an aduio 7 messages
quiet warren ```js const resource = createAudioResource(path, { seek: 60000, volume: 1 }); player.play(resource)``` ```js const resou...
OpusEncoder to file 3 messages
crystal zodiac How do you write an OpusEncoder stream to a file? Thanks
AudioPlayer#stop method 5 messages
vocal glacier so like it mentions that the player will be destroyed so what am confused is like how? I checked the source and all I se...
AudioPlayerStatus 9 messages
mighty bone Is there any state where we can check if is no user in vc so it will leave i saw docs there is not is there any way or ...
Multiple Voice Connections 3 messages
vocal glacier Is it possible to have multiple voice connection subscription for a guild? if so, how would I go about retrieving a part...
way to convert AudioReceiveStream into AudioResource 5 messages
worldly crag Hi there, I' ve been tinkering with some ideas of audio loopback. I was able to read opus stream with subscribing to co...
help on finish 6 messages
ashen notch is here any event when player finish?? i want to stop player after of finish
music play but doesn't sound 9 messages
ashen notch ```js const { ActionRowBuilder, ButtonBuilder, ButtonStyle, Events, Client, GatewayIntentBits, Partials, Collection, Ac...
CachedTypeReducer,GuildMember and APIInteractionGuildMember 9 messages
south lotus how can I handle GuildMember and APIInteractionGuildMember ? Where can I find information about that ? Trying to follow...
mp3 file length 6 messages
mighty bone how to get the legth of a audio file in discord/voice and is that even possible?
How to install ffmpeg to fix error in discord.js voice 9 messages
gentle maple I got this error and I can't find a way to install ffmpeg and use it on discord.js Here is my code: ```js if (interacti...
connection destroy, disconnect 19 messages
quiet warren Is it possible to destroy the connection with disconnecting the bot, I’ve a command that play an audio < 35 sec What I’...
Audio player stuck at "Playing" status, won't move to "Idle". 30 messages
steady spruce Does anyone know if there's anything wrong here ```typescript public async speak(text: string) { TTS.isPlaying =...
Audio Stop Playing by Itself 8 messages
tall crescent Hello, I made a simple script for my bot join and play a mp3 file, however, when it reaches 50-60 seconds, it autostops....
Connecting to voice connecting 2 messages
hexed minnow Hi, I would like to know if it's possible to connect to the voice connection (to only send audio) only with the token, e...
SpeakingMap event listeners stop receiving events 8 messages
soft venture happens every time after a minute like clockwork versions: `@discordjs/voice@0.14.0` `discord.js@14.7.1` `node v18.14.2`...
play mp3 13 messages
tall crescent Hello i need to play mp3 file and i cant , it gives error ``` if (interaction.commandName === 'judas') { try...
Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running 2 messages
hardy raptor `Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running` after a certain time, the sound in the vocal cut and i catch this er...
discord opus error 5 messages
mighty lotus Hi I'm facing a node gyp error when trying to install discordjs/opus in nodejs v 16.9.1
FFmpeg/avconv not found! 8 messages
wild light Hey, I followed the guide for setting up djs voice. Unfortunatly, when I try to createAudioResource I keep getting the e...
Audio stops playing 74 messages
eternal ether Yeah, it's another one of these posts and at this point I've pretty much lost all patience with this broken library. Th...
Unable to install opus 10 messages
trim oasis Heyo! I am unable to install the latest version of @discordjs/opus. I've installed python, along with the latest version...
Cannot play audio as no valid encryption package is installed. 6 messages
keen ridge Good night, I'm trying to make a bot for recording podcasts and I've done almost everything, but now an error has starte...
AudioPlayerStatus.Idle 74 messages
quiet warren the bot dose not do anything when it finish
Cannot perform IP discovery - socket closed 7 messages
lofty linden Someone please help me fix this error I'm using discord.js v13 ``` reject Promise { { ip: '219.158.151.68', port: 57835...
retrieving a subscribed AudioPlayer on a voice connection 5 messages
vocal glacier I mean we have the function `getVoiceConnection` that retrieves a VoiceConnection for a guild so is there any way to get...
Music Stops after a few seconds 24 messages
stiff plank ``` const player = createAudioPlayer({}); const stream = ytdl(songurl, { filter : 'audioonly' }); const resource = creat...
stream url plays briefly and stops 5 messages
unkempt ingot Hi, when I'm trying to play a radio stream url the bot starts playing for few seconds and then stops. No error thrown th...
No Audio Is Played 49 messages
median raven Hello! I'm new to using `@discordjs/voice` so I'm hoping I'm just missing something simple. I'm trying to get my bot to...
The bot leaves before the end of the player 7 messages
bitter trail ```js await player.play(connection?.audioResource); const networkStateChangeHandler = (oldNetworkState: any, n...
Instant Autopause 6 messages
left quest trying to play a preview_url mp3 file from spotify API response in a voice channel, but the player state keeps autopausi...
Typescript errors 10 messages
bitter trail Why I'm facing that error in typescript ?, It's existed while using javascript
player.on(AudioPlayerStatus.Idle, async () => {} not emitting when the song finished 58 messages
dusty salmon discord.js@14.7.1 ```js player.on(AudioPlayerStatus.Idle, async () => {} ``` i am using this eventHandler to play next ...
Player finish event name 5 messages
bitter trail What's the event name used to check if the player is finished or not? in @discordjs/voice
yt audio player aborted 7 messages
river shale what is happening here? ```js const { SlashCommandBuilder } = require('@discordjs/builders'); const { VoiceConnection, c...
Not joining voice channel 7 messages
glossy forge ```ts if (msg.channel.id === "1045694370713718874") { const prompt = msg.content.replace(`<@!${client.user?.id}`...
Discord voice priority speaker 2 messages
tranquil girder Hi everyone! Is there a way to allow a bot to be priority speaker before playing audio in a voice channel? The other opt...
Mix receiver streams efficiently 216 messages
tranquil sun Anyone know how to mix receiver streams efficiently (in real time by keeping it a stream, no ffmpeg)? I tried using an n...
998946512144969748 998946620345434174
Music stops after 60 seconds. What do I do? 1 messages
kind kelp My music keeps stopping after 60 seconds. All packages/node and everything are up to date. What do I do?
How can I add seek function to my discordjs music bot? 6 messages
left flicker I don't want to use discord-playr to just install seeking function. I saw the discord-player's code, but I can't realize...
Bots stop playing after a minute 6 messages
lone flume I know I can fix it by change the files in node modules but as I host my bot on online host servoce I dont have access t...
Audio Dying after some Minutes of Playback 44 messages
quick acorn My Audio dies after some minutes of playback of a mp3 stream
Pipe something into a AudioReceiveStream 2 messages
tranquil sun I'm trying to pipe a stream into an AudioReceiveStream: ```let opusStream = new AudioReceiveStream({ end: EndBe...
998946512144969748 998946620345434174
How do I create a continuous opus stream? 4 messages
tranquil sun I want to pipe data into an opusstream and play that opusstream continuously so can then do something like this. Only wa...
998946512144969748 998946620345434174
Bot stops listening after 1 minute 8 messages
tranquil sun I am currently working on a Discord bot which has the purpose of listening to what other people say. I got it to repeat ...
How can I play live audio stream? 10 messages
left flicker I want to install the function like Jockie Music' s radio function
Play from mp3 3 messages
mighty lotus Hi, anyone can give me an example of playing a mp3 file from filePath with my discord bot using discord voice. Thanks
No sound is played 43 messages
unkempt sundial Hello, my bot connects well to my voice channel, the console tells me that the reading is in progress but no sound is he...