djs-voice

1170 threads · Page 21 of 24

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 ...
is there any way that i can make the player seek to a specific timestamp 1 messages
calm badger I'm using play-dl for playing songs from a youtube link, it has a seek option but it doesn't work, i have been looking u...
998946512144969748
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...
998946512144969748
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...
Bot doesnt join vc 1 messages
inland fulcrum Error: https://pastebin.com/xsN5eLbj adapter.js: https://pastebin.com/trdPDfLe join.js: https://pastebin.com/SZEmYgc3 No...
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...
998946620345434174 998946512144969748
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...
TypeError Cannot read properties of undefined (reading 'voice') 1 messages
ocean nymph ```js const connection = joinVoiceChannel({ channelId: voiceChannel.id, guildId: guild.i...
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?
Target user is not connected to voice 10 messages
pseudo pumice here is the code block: ```js for (const v in details.voiceChannels) { const vc = await guild.channels.cache.get(det...
httpsregistry.npmjs.orgtypes%2fdiscordjs - Not found 1 messages
pale shard Hey y'all! Not sure if this is the right place here -- I'm attempting to ```npm install @discordjs/ws ``` And I keep ...
Cannot perform IP discovery - Socket closed 17 messages
final fjord **Discord.js** Latest of v13 I coded a bot that will join a voice channel when its ready and it only does that, like it...
cannot get voice connection to create a voice connection event listener to handle disconnects 1 messages
wispy halo ```js const connection = getVoiceConnection(process.env.GUILD_ID) ```
How do you manually end an AudioReceiveStream? 7 messages
sweet snow It's very unclear from the documentation how you actually end it the same way you would with EndBehaviorType.AfterSilenc...
No overload matches this call. The last overload gave the following error. for 'stateChange' 1 messages
exotic owl No overload matches this call. The last overload gave the following error. Argument of type '"stateChange"' is not...
About adapterCreator 10 messages
final fjord I tried to make my bot join to a specific voice channel on ready event. It gives error on adapterCreator part. **Discord...