djs-voice

1170 threads · Page 19 of 24

not joining voice channel 4 messages
jovial gale ```js const { Client, GatewayIntentBits } = require('discord.js'); const { joinVoiceChannel } = require('@discordjs/voic...
Getting amplitude value from pcm stream 4 messages
coarse night Hey guys. I am trying to get an amplitude value from my live pcm stream but very stuck. Code below
Don't know how to use Opus 19 messages
worldly musk I'm new to code and my bot just start playing and doesn't use any encoder
How te get buffer from opusStream 1 messages
coarse night Hey guys. I was able to create an opus stream from voice ``` connection.receiver.speaking.on('start', userId => ...
Connection 4 messages
crude sparrow How do i check if the bot has an active connection in a guild?
Audio isn't playing 15 messages
hallow talon Good evening everyone, My bot is not giving an audio output although the state changed to playing. No errors in the ter...
Skipping ahead in a stream 9 messages
spare ruin Just looking for insight here, if I'm feeding my bot a stream from a tts library, would it be possible for me to somehow...
998946512144969748
How can I change the volume of an Audio Resource playing with discordjsvoice? 3 messages
left flicker How can I change the volume of an Audio Resource playing with discordjs/voice?
Getting amplitude from opusStream 8 messages
coarse night Hey Guys. I am trying to get an amplitude or volume from an opus stream. I would like to figure out if a person is yelli...
Radio stream don't start with inline volume 8 messages
unreal sundial When I play a music with a different format than `opus` ```js let resource = createAudioResource(stream.stream, { ...
audio not playing 5 messages
radiant pewter ```const player = createAudioPlayer(); const resource = createAudioResource('D:\\carrotbot\\song.mp3');connection.subscr...
998946512144969748
cant install opus on node 19.x 13 messages
soft vault i really need help please
998946512144969748
Receiving and playing back voice 10 messages
coarse night Hey Guys currently trying to have my bot join a voicechanne, start receiving audio and then playing that audio back. I ...
After several hours of operation my bot does not want to launch the radio. Do you have a solution? 2 messages
unreal sundial ```js player.subscribe(serverQueue.connection); player.play(resource); try { await entersState(pla...
998946512144969748
Impossible to receive audio 11 messages
lime crown Hello everyone, so i was just trying to figuring out how to receive audio from a voice channel and i don't know why my ...
Connection.destroy() when the audio stops 4 messages
jade fractal ```js const audioPlayer = createAudioPlayer(); const url = "./src/assets/suspense.ogg"; const sound = create...
A function that can show bot ping connection (Voice Channel) 18 messages
blissful falcon Is there a way to create a bot command that can show us the bot ping connection when the bot is in a voice channel? I do...
member presence is undefined 10 messages
fierce ravine I am trying to make a discord bot that moves you to a channel based on what game you currently play. The only problem is...
Opus wont install on Termux environment 6 messages
fossil citrus Basically im trying to make a live transcript bot using VC but I want to use Termux for the host. I just get a whole loa...
998946512144969748
DJS-voice Required Packages Not Found 18 messages
sweet snow I have installed sodium-native using `yarn add sodium-native` and @discordjs/opus via `yarn add @discordjs/opus` but des...
enterState error 4 messages
sweet snow What am I doing wrong here?
998946620345434174
Problem with my radio bot 22 messages
wet stone Hello to everyone! Recently I changed my vps offer for something in the same performance as my old one but for less mon...
dynamic volume levelling 2 messages
wise wave i made a bot that plays music in a VC from mp3 files. unfortunately their volumes are all over the place. has anyone mad...
Music don't play 5 messages
fervent vessel ```JS const ressource = createAudioResource(ytdl(song.url)) serverQueue.connection.player.play(ressource) ...
No opus & encryption libraries with discordjsvoice 0.13.0 46 messages
gleaming mica ``` Modules: "@discordjs/voice": "^0.13.0", "@discordjs/opus": "^0.9.0", "libsodium-wrappers": "^0.7.10", "ffmpeg-static...
voiceState is undefined 8 messages
dense spade ``` client.on('voiceStateUpdate', (oldState, newState) => { voiceClient.startListener(oldState, newState); conso...
Good way to get the progress of the current song? 4 messages
unreal cedar Is there a good way or do I have to keep track of it myself?
Listen to voice audio and then play it back 2 messages
unique lion How would I go about listening to a user's voice audio and then playing that stream back on the bot?
998946512144969748
What's the PCM format after decoding? 2 messages
lean delta There are some PCM formats but I don't know what exactly the `OpusEncoder` of `@discordjs/opus` returns after calling `d...
998946512144969748 998946620345434174
not playing audio 6 messages
fast hill ```js const { joinVoiceChannel, createAudioResource, createAudioPlayer } = require("@discordjs/voice"); const connectio...
Discord Music Bot not working anymore 11 messages
hearty acorn Hi guys, i came back to developing my discord bot after months and all works fine except for the music player stuff, did...
My bot take a lot of seconds to start playing the music 3 messages
astral pollen HII ```js const connection = joinVoiceChannel({ channelId: channel.id, guildId: channel.guild....
How to write subscription data stream to a file 2 messages
olive iris ```subscription.on('data', (data) => { console.log(data) })``` Instead of just console.log'ing the data how can I wr...
Anyway to counteract this issue? (Interaction has already been acknowledged) 49 messages
half roost Error: ```DiscordAPIError[40060]: Interaction has already been acknowledged. at SequentialHandler.runRequest (c:\Use...
play audio 3 messages
native totem How do I play an mp3 audio that is in a link? I didn't understand the docs very well.
Bot joins but doesn't play anything 14 messages
late spindle When I try to play audio from a local mp3 file, the bot joins the vc but doesn't play anything. ```js const player = c...
Music Bot 11 messages
summer dove I have been making a music bot and i have been stumbling across this error when ever i request a song im not sure if its...
Opus question & install error 2 messages
calm flower I'm moving my bot off of Heroku to a shared web host and everything is working except Opus. I have 2 questions: 1. Is o...
How do I make it so that the bot automatically joins whoever did the command 19 messages
late spindle Instead of specifying what voice channel you want the bot to join, how do I make it so that I can type !join and the bot...
No one else can hear my music bot lagging. 14 messages
unreal cedar Im the only one who can hear my musicbot lagging no one else does, its hosted on the same network im using discord on if...
My discord.js v13 music bot stops playing after about 30 minutes 4 messages
thin rivet I recently coded a discord music bot which plays a random mp3 file from a folder 24/7 in a voice channel. After some tim...
Creating a simple audio player 5 messages
sullen barn The idea is to create a simple audio player that plays an mp3 clip stored locally on my computer to a joined voice chann...
not playing anything 5 messages
ornate glade ```js const { Client, SlashCommandBuilder } = require('discord.js') const { createAudioPlayer, createAudioResource, gene...
Error FFmpegavconv not found! 8 messages
ornate glade This is my first time using this and I'm not sure if I've even done it right, I'm getting the error `Error: FFmpeg/avcon...
Bot joins vc with no errors but no audio is played 4 messages
tranquil dust ```ts console.log(join(__dirname, 'BlargoRage.mp3')) const { options, guildId } = inter...
Bot joins channel, no audio 5 messages
cinder fog The bot joins the channel but doesnt play the audio... ``` const { Client, Events, GatewayIntentBits } = require('disco...
getVoiceConnection is returning undefined 52 messages
north shuttle Not sure why this is returning undefined. I'm running node 16.18.0 with disord.js version 14.6.0 and @discordjs/voice at...
How do i check if playlist is null or link is invalid 6 messages
empty latch I'm using https://discord-music-player.js.org/ is there any way to check if search parameter url is invalid or playlist ...
when his bot is inside a voice channel, moving others takes about 5 seconds, whilst when it’s not in 16 messages
unreal sundial there is a very strange bug when my bot is in vocal and that it has to move a member the action but about 5 seconds, whe...
package not working 35 messages
inland glen so