djs-voice

1174 threads · Page 11 of 24

Listen to user vocal input using connection 22 messages
slow belfry hey, i couldn't find any reliable form of making the client listen to vocal input when its connected. can i have some gu...
player stopping in middle 2 messages
playing audio from a https url seems to be broken 7 messages
high mauve I use separate services to generate and then play audio, this seems have broken. Using http://genericlocalip:3000/audio....
pls help me 11 messages
bronze garnet https://sourceb.in/HqHVMUHIqq so i am unable to fetch the webhooks from my client i want to make a bot announcement ju...
im getting the classic AudioPlayerError: aborted. 15 messages
slow belfry Error: ```javascript AudioPlayerError: aborted at connResetException (node:internal/errors:691:14) at TLSSocket...
another bot not joining the voice channel 8 messages
rough dagger Hi there, im learning my way through the docs and making my first bot, i was following line by line the basic example re...
Weirdest bug i've encountered, probably need a discordjs/voice contributor help here. 4 messages
slow belfry Hello, i made a discord player for playing music and tts messages. the youtube way: get stream from ytdl with filter au...
Issues installing @discordjs/opus 8 messages
subtle zephyr I get this error; ``` error D:\Projects\discordjs\test-bot\node_modules\@discordjs\opus: Command failed. Exit code: 1 C...
AudioPlayerError: Write EPIPE when using Prism FFmpeg 4 messages
loud basin I'm using `prism-media` to decode an Opus stream and apply audio effects, but I seem to be getting an error regarding so...
Bot not joining voice channel 13 messages
chilly gazelle djs v14, voice 0.16 ```js const connection = joinVoiceChannel({ channelId: interaction.member.voice.channel...
Destroy player when session is finished. 4 messages
slow belfry Hello, i wanted to know if there's a way for the player to stop playing completely once i've finished with my session ma...
Bot disconnects from vc after a few days on external host 5 messages
raven lynx My bot disconnects from a voice channel after a few days (no specific number). At the same time, the bot's presence gets...
AbortError: The operation was aborted 23 messages
tropic fossil I have a bot, which is playing music. It connects to the channel and also plays the music but sometimes there is the fol...
"Invalid Form Body" Username cannot contain "discord" on /join command 6 messages
tiny pine Steps to reproduce. 1. Clone the latest discordjs/voice-examples.git 2. Copy Recorder example to new folder 3. Create c...
[SOLVED] 🤦Bot doesnt join the voice channel 23 messages
rigid walrus So I have the following code, when its being executed, the bot doesnt join the voice channel. ```js const { joinVoiceC...
opus
Sound stops after a few seconds and then no other sounds work 6 messages
rustic sundial Hi, sorry if this has been asked before. I am trying to play an mp4 soundclip via discord voice channel, it works, but a...
Audio Resource not playing 10 messages
acoustic hare For some reason this wont play the audio i tried installing the ffpeg package thing but still wont work! ```js const se...
Socket randomly closed 6 messages
How do I make an event listener for when someone speaks? 6 messages
ionic frost I want to make an event listener similar to how the make events in the discord.js guide const { Events } = require('dis...
subscribe a connection and convert pcm buffer response to mp3 47 messages
sullen goblet Hi ! I want to convert this result : ```js const receiver = connection.receiver.subscribe(userId, { mod...
Incorrect client joins channel when using joinVoiceChannel() 9 messages
woeful hill [email protected] npm v18.16.0 I have multiple clients logged in and I am trying to connect specific ones to different...
Discord.js | Playing Music 14 messages
grizzled quartz This joins channel but not streaming music. ```js const { joinVoiceChannel, createAudioResource, createAudioPlayer } = r...
Playback ends after 20 seconds without any erros emitted 28 messages
bitter trail Code: ```js connection = await joinVoiceChannel({ guildId, channelId: this.voiceCha...
ETIMEDOUT on port 443 3 messages
wispy slate ``` error occurred joining voice channel: Error: connect ETIMEDOUT 165.21.111.144:44 3 at TCPConnectWrap.afterConnec...
[SOLVED] Playback ends after ~1 minute without any errors emitted 23 messages
woeful hill Title. It sometimes becomes Autopaused, sometimes not. It eventually becomes Idle after a few minutes. No errors are emi...
Generate opus stream as chunks 2 messages
tribal torrent `export function createListeningStream(receiver: VoiceReceiver, userId: string) { const opusStream = receiver.subsc...
Voice_CONNECTION_TIMEOUT 2 messages
sharp igloo hey, for explitbot js verzion when i use ?play (any song) it joins the channel and doesnt play and in console it sends t...
RequestAbortedError [AbortError]: Request aborted 2 messages
Error when playing ytdl 6 messages
blissful bronze Hello I am having problem with playing a youtube link converted to mp3 in voice channel
unrelated
Bot joined in channel but is fullmuted, why? 20 messages
paper charm In voice channel my discord bot is fullmuted, so he cant play a sound. Is there a simple fix? ``` const { joinVoice...
Audio Player state changes to playing when resource ends 5 messages
hollow venture I am creating an audio resource from a ytdl download, and when I play this resource on the player with `player.play(reso...
Recorded ogg audio is not able to be played 4 messages
blazing storm Hi all! Working on a project that involves recording conversations in a VC. We have a setup that gets us to the point w...
Player does not play AudioRecource if it played before 5 messages
charred locust I have a function that can play Audio in a VoiceChannel and i have 2 options: 1. to play a single audio file 2. to play...
ERR_SOCKET_CONNECTION_TIMEOUT when trying to play audio in a channel 13 messages
tiny quartz Sometimes when I try to play music with my music discord bot i get this error: ``` node:internal/process/promises:289 ...
opus
Won't play if source takes long to send more data 2 messages
hexed minnow When trying to play a big stream, which the speed is 30kbps, I was getting an issue where djs voice would send a trackEn...
Can't get user's audio stream if the stream is too long 2 messages
tacit cairn So I'm trying to do a recorder bot, but when the user says something too long, probably about 4-5 seconds. It just hang ...
Error while installing @discordjs/opus 14 messages
stable oracle I believe I have installed build tools when I installed node & I have also tried running `npm install --global --product...
opus
joinVoiceChannel won't join the voice channel 26 messages
silent quail ```ts const queue = new MusicPlayer({ interaction, textChannel: interaction.channel! as TextChannel, ...
how to get if the player is already created in a guild 8 messages
wide tundra there is the `createAudioPlayer()` funcion but just a question if there is a `getAudioPlayer()` function to get the audi...
opus
cannot install @discordjs/opus 8 messages
opus
How do you get the current voice channel ID of the bot? 3 messages
fossil hull I'm trying to make sure that bot and the user are in the same voice channel. I used to use message.guild.voice.channel.i...
getting the member 17 messages
solid wadi how to get the member who disconnected the bot
voice stop after 1min 37 messages
real frost <:waitWhat:230083889018830848>
Error Spawn E2BIG 25 messages
low isle no idea what this indicates
Playing Audio from User Provided File 8 messages
zenith cypress I'd like to have my bot play whatever mp3 file the user uploads as an attachment command option. When I use it, the file...
Voice transfer and mixing 4 messages
spiral pewter I would like to implement the ability to prepare BotA and BotB and send out audio in real time as a microphone and speak...
How do I even begin to do this 3 messages
junior ibex I want to do this but it's all to hard to understand I don't really want to use ffmpeg if anyone wants to give me a more...
Say smthing in vocal to text. 10 messages
sullen goblet Hi I want to keep the text that i said in vocale with this code : ```js joinVoiceChannel({ channelId: message.mem...
50035 When calling create voice channel function 28 messages
Trying to do an Mp3 playing command 6 messages
jolly tendon Hello fellows devs, I am currently working on a bot prototype, with one slash command. This unique type of command execu...