djs-voice

1174 threads · Page 21 of 24

how to check the size of people inside a voice channel 10 messages
shrewd rain ```client.voice.connections.size``` what would this be in discord v13
`audioPlayers` memory leak 3 messages
mystic plank I'm trying figure out what cause memory leak in my app. Does this mean that `audioPlayers` array doesn't clean up? Scree...
Record people talking in a channel using a bot 3 messages
shut ridge I'm trying to relay the audio from a voicecall to a different service. I'm looking at this example and wondering if it i...
error destroying connection 12 messages
frozen jackal ``` Error: Cannot destroy VoiceConnection - it has already been destroyed at VoiceConnection.destroy (@discordjs\voi...
* 4 messages
slim pewter Every time i'm downloading the opus gives me this error ``` Error: Cannot find module '/home/runner/Nothing/node_modules...
opusscript
can i check if the bot is talking or not? 8 messages
finite nexus when i made a TTS bot, the message came after overrides the previous message, i kinda want to make a queue like system s...
Radio bot voice destroy when player idle 3 messages
proven pewter I'm broadcasting radio in mp3 format via bot, sometimes it is idle during song change and the broadcast ends, it stops p...
505 Unhandled WS Error Event 6 messages
elder pulsar How to handle the ws error event?
get `BaseGuildVoiceChannel` 15 messages
scenic zephyr How do i get `BaseGuildVoiceChannel` of a voice channel
Where can I find how long an AudioPlayer has been playing an AudioResource? 4 messages
dreamy vine Using latest version of @discordjs/voice the closest thing that I found was AudioResource.playbackDuration but that giv...
Discord Bot silently crashes on DJS14 3 messages
solar idol This is the relevant code: ```ts constructor(private guildId: string) { const guild = client.guilds.cache.find(g => g...
Play audio from URL (mp3 stream) 5 messages
terse kettle Hey, I'm currently using djs v14 and djs voice to create an Audio Player playing audio from a mp3 stream. Works fine in ...
Bitrate selection 2 messages
snow veldt Is there an option for setting an Audio bitrate like there was in v12?
AudioPlayer Aborted 6 messages
light atlas ^
About audio player statuses 4 messages
flat burrow if a person disconnects the bot manually from the voice channel, which state the audio player will have: disconnected or...
Bot enters the channel, says that the MP3 is playing, but the sound does not come out. 4 messages
lusty marlin Hi mates! I'm scratching my head a little over this. I need that after typing a !play channel sound command my bot ente...
Check for voice channel id, that the bot is currently in. 4 messages
naive cipher I want to check if the user who use a command is in the same voice channel as the bot, how can i do this
ytdl-core || AudioPlayer 2 messages
light atlas code ```js const ytdl = require('ytdl-core'); const url = interaction.options.getString('query'); if (interaction.member...
Converting opus to *.wav or *.mp3 2 messages
frank fog Hello! I'm trying to receive audio and save as a *.wav or *.mp3 file. There is no documentation for this but I read some...
opus
ytdl-core || DiscordVoice Player 5 messages
light atlas code ```js const player = Discord.createAudioPlayer(); const searchResult = player.search(url, { requestedBy: inter...
Bot Aborts Connection 31 messages
wispy oyster ```js const discordTTS = require("discord-tts"); const { AudioPlayer, createAudioResource, StreamType, entersState, Voic...
Question regarding old memory leak with discordjs opus and inlineVolume 3 messages
rugged oriole Was this issue ever fixed? Reference: https://github.com/discordjs/voice/issues/197 I've been getting around it by usin...
AudioPlayerError ffmpeg was killed with signal SIGSEGV 2 messages
regal tinsel What's the reason of that error
can't repeat already played song 2 messages
mental lagoon 1. djs ^v14 2. node ^16 ```[BOT] Error emitted from the queue: write EPIPE [BOT] Error emitted from the connection: [Pl...
Checking if a connection is already established. 2 messages
sweet snow Hey there, I was just wondering if I should be checking if the bot already has an established connection before running ...
SlashCommandBuilder - Error at .addChoices([ ...]) 4 messages
mental lagoon 1. djs v14 2. node v16 ```js data: new SlashCommandBuilder() .setName("loop") .setDescription("Set loop...
Does PlayerSubscription automatically destroy if I call VoiceConnection.destroy() 2 messages
dreamy vine Or do I need to `subscription.unsubscribe()` to prevent memory leaks, etc
List of events emitted by AudioPlayer? 10 messages
dreamy vine https://discord.js.org/#/docs/voice/stable/typedef/AudioPlayerEvents doesn't have any information Where is this list of...
Problem with connection.receiver.subscribe 16 messages
digital wasp ```js let voiceMembers = new Set(); /* some code not shown inside the voiceStateUpdate event */ const connection = get...
opusscript opus
voice 58 messages
crude sparrow How do i make the bot play audio from yt?
voiceStateUpdate Event Question 3 messages
digital wasp Does the `voiceStateUpdate` event fire when a user speaks or stops speaking?
Headers Timeout Error 6 messages
steep dagger ```js TypeError: Cannot read properties of undefined (reading 'loadType') at Object.run (C:\Users\rudei\lavamusic-2\...
Receiving Audio Question 17 messages
digital wasp how many seconds of silence make discord.js think that the user 'stops speaking'?
packages needed to play sound 2 messages
regal tinsel i wanna know if packages i have is right to play sound
connection.on('stateChange') not giving any output 28 messages
mental lagoon 1. discord.js @14.3.0 2. node v16.17.0 3. using Linux _x86 4. on online platform Gitpod.. I m just making a simple co...
I just started djs-voice and following djs.guide but I got ERROr on createAudioResource 17 messages
mental lagoon 1. discord.js @14.3.0 2. node v16.17.0 this is code ```js console.log('In bot.js .....(/)'); require('dotenv').config(...
Converting Opus to PCM 3 messages
ebon spruce so i know in previously you can do ```js const voiceReceiver = connection.receiver.createStream(member.user, {mode: 'pcm...
player.play() question 20 messages
regal tinsel What does player.play() do, dose it fetch the link if i put like video download link or something?
error on powershell 22 messages
old iris sorry I have a problem with my bot, as soon as I start music. it shows me an error on powershell!! [Error emitted from t...
ENOTFOUND a lot of times 4 messages
tropic fossil Hey there, my bot get a lot of times the following error: ``` Error: getaddrinfo ENOTFOUND rotterdam1942.discord.media ...
No sound playing via VPS (ubuntu) 46 messages
dry pasture Hi so I have been investigating why no sound is coming from Bot on my VPS, it has the intent and I just the generated de...
its not playing sound on heroku but it does on localy 20 messages
regal tinsel I can't play songs when i deploy it on heroku but it works fine on locally
check a person if they stopped speaking 5 messages
charred kernel so I found out you can see if a person is speaking, now how can I make it check if they are not? ```js connection.receiv...
voiceChannel.members 4 messages
spiral coral i need who in voicechannel but this code not working? someone pls help
how do I get the current elapsed time? 4 messages
spare sage how do I get the current time that has lapsed from `createAudioResource`?
Music works locally but not on the vps 19 messages
gleaming mica Hello, recently my bot music does not work when I launch it from my VPS, (It works perfectly when I run it from my IDE) ...
Doesnt play radio 5 messages
cosmic jacinth ```js client.once('ready', async () => { console.log("\n" + `[READY] ${client.user.tag} готов к работе.`.yellow); c...
Let `AudioPlayerStatus.Idle` listener run when creating the AudioPlayer 2 messages
winged beacon How can I make the event listener run after creating the AudioPlayer? Code: ```ts const player = createAudioPlayer(...
Voice Error 6 messages
outer saddle Hello, my bot has reciving this error -> this.socket.once("close", () => reject(new Error("Cannot perform IP disc...
call permissions 4 messages
celest grotto how do I get the bot to update its permissions when it's muted?