djs-voice

1170 threads · Page 17 of 24

Voice don't work 3 messages
crisp sentinel Error Cannot read properties of undefined (reading 'setChannel')
how can I make a bot a speaker of the stage channel? 7 messages
summer zodiac .
998946620345434174
djs voice 5 messages
regal tinsel how can i check if bot is not playing without idle event
discord-player 8 messages
bronze shore Hi I am trying to make music bot. And I have problem. I have code from website: https://discord-player.js.org/docs/main/...
djs voice 14 messages
mighty bone ```js const { createAudioResource } = require('@discordjs/voice'); const resource = createAudioResource('/home/user/voi...
Installing Opus gives me the following error 16 messages
umbral harbor Any help, please?
TypeError Cannot read properties of undefined (reading 'once') 3 messages
sick peak ```js function downloadFromInfoCallback(text, lang, speed, stream) { const url = googleTTS.getAudioUrl(text, { ...
Playing Stream In Discord's Voice Channel 3 messages
spark olive Hey, I'm trying to play a Stream into a voice channel, I've already got the stream and its updating but when I'm trying ...
Trouble using voice as a module 42 messages
upper sierra hey there, i checked a bit but cant find anything on this issue: I've installed discord.js/voice using "npm install @di...
Remove audio from RAM 1 messages
opaque girder When the bot play an audio, it will be saved in the ram, how can i remove it when the audio finishes? v13.12
How to know when the bot is disconnected ? 3 messages
gleaming mica Hey, There is a way to know when the bot is disconnected from the voice channel ? :) Thanks
Speaking 6 messages
sick peak in djs v12 i was doing ```voice_Connection.on('speaking', async (user, speaking) => {``` how can i do the same eve...
Dependency Report showing different FFMPEG version 9 messages
upbeat hatch So I'm somewhat newer to Linux/Ubuntu, and after recently finally being able to get an Oracle Cloud Instance (ARM based,...
problem with audio player 42 messages
mighty bone y discord bot plays same sound in multiple servers ```const connection = joinVoiceChannel({ ...
VoiceState.channel is null when connected to voice channel 7 messages
bitter wraith Here's my code: ```ts const member = await i.guild.members.fetch(i.user.id), channel = member.voice.channel if (!channel...
Speech To Text 2 messages
vernal hill What did I need to do a Bot that sends that what I say in a Voice Channel in a Text Channel?
MaxListenersExceededWarning - Streaming local files breaks on third song 3 messages
thorny plaza Versions: Node - 18.12.1 Discord.js - 14.7.1 I have a music feature that iterates through a directory of local music fi...
Encoding an AudioRecieveStream into s16le Audio Samples 64 messages
stark tartan sorry if this is a bit off topic, but I don't know where else to ask. I need to convert the AudioRecieveStream from disc...
998946512144969748
usage of audio player 2 messages
primal comet hello, should the audio player in a voice connection be destroyed and recreated every time an audio file is played, or s...
How can I detect when a resource has finished playing? 6 messages
left flicker How can I detect when a resource has finished playing? DIscord.js v14 Latest, Discord,js/voice latest
Bot isn't able to play a local audio file 3 messages
north jetty Hi. The code has no error when ran. I am able to get the bot into the voice channel but when I want it to play the audio...
Elapsed audio resource duration 17 messages
wide river Hello everyone, I'm currently trying to implement a proper progress bar which displays the playback of the current song....
Checking for currently playing audio 9 messages
steel vector I am trying to check if the player is playing audio, and if it is, then i dont want to override that audio with new audi...
Change FFMPEG options when using inlineVolume=true 4 messages
willow ocean How to change the FFMPEG options discord uses when enabling `inlineVolume` on `createAudioResource`?
How can I encode a PCM stream 4 messages
normal yew I have a `readable` and I want a way to play it. I am assuming I need to encode it to opus
998946512144969748
How to record VC with discord.js voice? 11 messages
left flicker How to record VC with discord.js voice? I already search about it, but I couldn't find anything...
How to handle Audio Receive Stream Pipeline on Connection Destroy (bot disconnected) 6 messages
sweet snow This is my code inside my receiver speaking on start event: ```ts const opusStream = receiver.subscribe(userId, { ...
audio aint working 38 messages
sweet eagle ``` const connection = joinVoiceChannel( { channelId: '1055401035599990795', guildId...
Metadata for createAudioResource is null 4 messages
hushed whale I'm trying to fetch metadata about the Audio Resource (specifically the time length of the audio) however, the metadata ...
Server mute and unmute 5 messages
jagged shore I wanted to know if there was a way to make it server mute and unserver mute itself
Record an audio track from each user 2 messages
opaque tulip Im trying to code a bot for me and my friends that will join a call when one of us joins the call and record a separate ...
My bot cannot join voice channels 38 messages
prisma panther I wanted to make a discord bot for a friend where it would join a voice channel when it started, but for some reason it ...
998946512144969748 998946620345434174
Can't make tts word 10 messages
dusky meteor hello guys! i'm trying to make my discord bot to play a tts message but it doesn't work, audio doesn't play, any suggest...
How to leave my Bot from a voice channel with djs voice? 4 messages
left flicker How to leave my Bot from a voice channel with djs voice?
couldn't be built 7 messages
hushed anvil how could i fix this
998946512144969748 998946620345434174
HELP 5 messages
obtuse quarry I am learn djs
998946512144969748
Move don't work 7 messages
crisp sentinel error ReferenceError: setChannel is not defined
Receiving an error while trying to join a voice channel 16 messages
vital karma When I run a command which should make my bot to join a voice channel, I get this error. Before trying `joinVoiceChanne...
End behavior for AudioReceiveStream 4 messages
reef pendant I can't seem to get it to work the way I expect. If I understand correctly, the stream should close after `duration` mil...
998946512144969748
Move Command 2 messages
crisp sentinel How to make a command that if the user uses the command, it will move him to the channel
how do I know if the webhook doesnt exist? 6 messages
rain sleet Webhook ID and token are in DB
How do you write an mp3 or playable file when getting voice-input from an user 3 messages
foggy ocean ```JS let receiver = connection.receiver let stream receiver.speaking.on("start", userid => { let user = client....
Is there a way to specify encoder args when playing audio 2 messages
mighty ember For example `-af bass=g=10,dynaudnorm=f=200`
How can I play multiple audio streams simultaneously 9 messages
raw rampart I'm building a bot that streams live audio from a voice call to the user's computer. The issue I'm having is making the ...
Audio is not working in Discord Call | Erelajs & LavaLink Server 3 messages
surreal nymph Hi, I am currently building a music bot using Erelajs and LavaLink server, Join and Leave functions are working with wit...
Audio not playing for more than 6 minutes, connection gets stuck signalling 1 messages
open saddle I have a tricky problem playing audio streams for more than ~6 minutes. I can get the bot to join the voice channel and ...
Help me... It's not playing... 25 messages
spare rock const Vchannel = client.channels.cache.get("1052279758483882114"); const connection = await joinVoiceChannel({ ...
How to join VC 11 messages
opaque tulip ik this is probably a often asked question but im extremely new to js and am trying to get a discord bot to join a vc wh...
Offset out of bounds 6 messages
slow flax I worked out a radio bot for (many guilds) but while starting the bot it creates a voice player for every guild and whil...
998946620345434174
Hey im trying to record me talking in a discord channel, but how can i record? 6 messages
abstract carbon Hey im trying to record me talking in a discord channel, but how can i record? Im using the newest version of all