djs-voice

1170 threads · Page 18 of 24

How can I make a custom adapter for djs voice 10 messages
mighty ember I'm writing a client library for discord and want to use djs voice for voice support
module not found though freshly installed 7 messages
soft rivet deleted `node_modules` did command : `npm i @discordjs/voice` (in main project folder : D:/SharedProgrammingFolder/Voic...
Bot is not playing audio 4 messages
brisk kiln _`stream` is an `internal.Readable`._ ```ts const audioResource = createAudioResource(stream); audioPlayer.on(AudioPla...
I want to create a simple spotify music player, where do I start? 15 messages
signal saffron I know how to make my bot join voice channels, and I can create an audio player too (doing that rn). But other than that...
Can't install djs voice 3 messages
grim turtle I can't seem to manage to install @discord.js/voice with npm, trying the things on the guide leaves it saying it doesn't...
Can anyone help me with playing a mp3 livestream? 8 messages
drifting walrus I want to play a link from iliveradio e.g => https://streams.ilovemusic.de/iloveradio29.mp3 Can anyone send me an code e...
998946512144969748
Realtime pcm to wav 5 messages
subtle pumice How do I convert pcm to wav in Realtime ?
Correct way to endcode opus audio 5 messages
subtle pumice ``` const encoder = new OpusEncoder(48000, 2) const stream = createReadStream("./test_music.ogg", { highWaterMark: 3840 ...
Get AudioPlayer 14 messages
unique dirge How would I go about getting the AudioPlayer now that `connection.state.subscription.stop()` is no longer a thing?
Check if bot is in voice channel 4 messages
unique dirge How would you check if the bot is in a voice channel? getVoiceChannel() isn't working for me if the connection is not s...
How to Execute Function when User Starts and Stops Talking in VC 3 messages
slim shell I'm relatively new to node js and discord js in general but I haven't really found a clear answer to this. I want to c...
How to seek to a point in audio timeline? 4 messages
raven night How can I jump to a point in audio like many music bots do??
How can I track that createAudioResource has finished playing? 2 messages
vernal bough Hi please help. I need to track an event when createAudioResource has finished playing the audio. How can i do this?
Hi, any idea why can't I download discordjsopus? ENOENT ERROR 6 messages
west dragon 😭
Error Cannot perform IP discovery - socket closed 1 messages
smoky plover my bot joins and looks for the song but after a couple of sec it just leaves and show this error [MULTIPLE RESOLVES] r...
998946512144969748
FFmpeg not being found 10 messages
oblique flax I have FFmpeg installed using fluent-ffmpeg, how do I make @discordjs/voice aware of it's install location
Bot does not play audio when audio source is changed from stream to string URL 2 messages
sweet snow For some strange reason, when I have my bot change from playing a ReadableStream to playing from a URL in a string, the ...
Bot not playing audio 12 messages
ebon bronze My bot joins the voice channel but doesn't play the audio given to it.
Self Deafen 13 messages
odd ivy ## Does Self Deafing the bot is lessening eating ram or not? ## What is difference between deafen bot?
Reduce delay when playing audio stream to voice channel 9 messages
dapper rapids Hello, I am trying to make two people from two different services talking together through my discord bot. My bot is pla...
get volume 3 messages
wise wave i cant find the place in the docs that talks about volume, ive seen code like `volume.setVolume(0.2);` but cant find set...
Bot Joins but does not play audio 5 messages
royal apex ``` // ./index const client = require('./client'); const { joinVoiceChannel, createAudioPlayer, createAudioResour...
Recording PCM streams from all users in voice channel 17 messages
opal saddle Hello! Is it possible to record PCM streams from all users in voice channel?
realtime stream from webrtc 2 messages
dapper rapids Hello, I am very new in discord bot development and I can't find any answer to my problem on google 😦 I have a webrtc ...
Audio not playing 2 messages
dense thorn ```js const Discord = require("discord.js") const { Server, RCON, MasterServer } = require('@fabricio-191/valve-server-q...
How to properly restart a voice connection after bot restart? 12 messages
sweet snow So lets say I restart my bot but I want all voice connections that my bot was in before the restart to be reconnected. W...
missing node-opus 10 messages
unkempt ingot Hi, in package.json I have `@discordjs/opus": "^0.3.3"` yet when I try to play something I get this error. I solved it ...
Replaying spoken audio 18 messages
tranquil sun I tried creating a bot that reacts to any message I send and then it should join a voice channel and repeat whatever I s...
bot leaves channel immediately 14 messages
hybrid wasp hello, I have a music system in my bot, and it works perfectly locally (windows), but when I upload it to a hosting (lin...
Artificial Silence when receiving audio 2 messages
dapper cloak Hi, Not exactly a djs specific question, but perhaps someone can help. I'm recording audio from a user and passing it th...
Discord bot leaves voice channel immediately 6 messages
wary finch when using play command but only on heroku and without any errors (and I have ffmpeg buildpack)
bot finished playing 23 messages
stone onyx How to understand that a bot has finished playing a file to start a new one?
DiscordJs crashing when trying to play audio source 9 messages
compact crystal Helo, when i want to play "ive been in the hills f\*\*\*\*\* dudes" using ytdl, my discord bot crashes and gives me erro...
Cannot play audio as no valid encryption package is installed 39 messages
vocal glacier I literally have sodium, libsodium and libsodium-wrappers installed and yet it still throws this damn error. ```haskell ...
Getting existing audio player 29 messages
crude sparrow how do i get the audio player in a guild if any?
delay in music loop 2 messages
green nest I have delay (0.2 seconds) between end of song end start of the same song. Is there a way to create a seamless loop of m...
aborted error 8 messages
crude sparrow i get this error: ```js [Uncaught Exception] : Error: aborted Origin: uncaughtException ```after at around 3 minutes wh...
volume 2 messages
crude sparrow hwo do i increase/decrease the volume of bot in a voice channel? doing `<Resource>.volume.setVolume()` changes the volum...
cannot detect libraries(typescript) 7 messages
wise oriole When i generate dependency report It cannot detect libraries. I'm using yarn how can i fix this? Core Dependencies - @...
AudioPlayerError - aborted | error 7 messages
pastel elm ```js AudioPlayerError: aborted at connResetException (node:internal/errors:692:14) at TLSSocket.socketCloseList...
998946512144969748
Audio extremely loud and distorted 4 messages
manic oar I am playing a live mp3 http stream if that helps
need help with some codes 1 messages
rose spoke I need help coding
998946512144969748
Local files keeps stopping 5 messages
opaque grove ```js const connection = joinVoiceChannel({ channelId: channel.id, guildId: ...
Volume 5 messages
crude sparrow How do i get the current volume of the bot?
DiscordJS Voice Auto-Pause 1 messages
meager karma I'm trying to play multiple audio files at once, but I can't as it gets stopped. Is there a way to do so without it paus...
DiscordJS Listen to individual audio tracks 5 messages
vivid epoch I am making a discord bot that stores the last 30s of audio for each user in a voice channel, incase they get reported. ...
discordVoice.createAudioResource loop 8 messages
compact crystal Is is possible to loop a audio resource in discord voice? Node version: v18.10.0 DiscordJS version: 14.3.0 DiscordVoice ...
Combining OpusStreams 2 messages
dreamy crag I'm trying to play audio back in voice channel but as you know we can play 1 audio at once. So, I need to combine all op...
998946512144969748
Where can you play music from that isn't against ToS? 26 messages
wicked shale I know playing music from Spotify or YouTube is against their ToS, but where can you play music from that isn't violatin...
Encryption package cant be found 23 messages
compact crystal Hello. I have `@discordjs/voice`, `@discordjs/opus`, `ffmpeg-static`, `prism-media` and `sodium-native` installed, but a...
998946512144969748