djs-voice

1170 threads · Page 22 of 24

How to play m3u files in Discord.js v14? 2 messages
ember slate I want to play a m3u file in discord.js v14. I looked everywhere, and gone with the code in the image, but it doesn't wo...
Having some trouble pausing and unpausing a player 2 messages
echo linden I'm attempting to create a skip command for a currently functional queue system. When I use the skip slash command it do...
Can't recreate an AudioReceiveStream after destroying old one 4 messages
oak lava Hello, I am currently using @discordjs/voice 0.11.0. I am currently on a voice recognition bot and I have a little probl...
TypeError Cannot read properties of undefined (reading 'voice') 5 messages
iron surge • Djs: discord.js@14.2.0 • Node: 17.1.0 • Code ```js if (cmd && cmd.voiceChannel) { if (!message.member.voice.c...
get bot voice channel subscription 38 messages
regal tinsel I can't get bot voice channel subscription
VoiceConnection always return undefined on discord.js V14 2 messages
civic grotto doesn't matter if the bot is connected to the channel or not, anyway i get undefined. On v13, everything is fine.
998946512144969748
Audio crash after some times 6 messages
vital pivot Hello guys, I need your help, I have this error for more then few months, does anyone know how can I fix it or if it can...
Automatic player 8 messages
gleaming mica Hi, I'm having a very weird problem that I don't understand, I'm trying to get 2 different bots to join in voice chat ro...
How do I get the voice channel id in which a user is currently in from a message? 4 messages
heady pewter I want to get the voice id of a user that sent a message of a command.
Bot disconnect after 2 minutes 5 messages
spice bluff My bot always disconnect from the voice channel after 2 mins, even if it's playing audio...
Questions about VC 4 messages
manic jacinth What format should be the audio file be and what function do i play? I've seen the docs and I didn't quite understood ho...
pause is not working 7 messages
regal tinsel Why when i do player.pause its just not working also when i console player status it tells me player is idle even if the...
Bot joins vc but doesnt play nything 4 messages
hollow walrus ```js import * as voice from '@discordjs/voice'; const player = voice.createAudioPlayer(); const resource = voice.create...
voice 2 messages
strange bone const { joinVoiceChannel } = require('@discordjs/voice') client.on('ready', () => { client.channels.fetch("10101143326...
Very weird error from YTDL 9 messages
toxic pumice I'm trying to play sound into my bot, and everything was going fine, until I changed NOTHING, and it started spewing out...
Bot joins, doesn't play sound 4 messages
lone cargo I'm working to make a simple bot for a soundboard kind of thing and I'm really struggling to get it to play sound. I fin...
SyntaxError 17 messages
lunar hound idk where to ask ytdl core discord related issues so ill just make one here
998946620345434174 998946512144969748
way to fetch current audio resource 5 messages
inland glen is there a way to fetch current audio resource?
How do i make bot detect if anyone in vc speaks or not? 15 messages
tired pike I am just a newbie into JavaScript, I didn't find any info about this in discord.py so, could you help me please?
status end 6 messages
inland glen how to use like ``player.on("finish")``
disconnect suddenly 42 messages
opaque girder I have 2 bot ~~sometimes more~~ in 1 file, running them using the same code, one of them disconnect after few hours ~~so...
How do I not create a new connection when a new command is inputted? 2 messages
barren drum The problem is I'm trying to create a tts bot. But when a user input a new tts command, it will run the below code again...
Bot connects and looks like it's playing an mp3 but there's no actual sound 7 messages
junior gale The bot connects to the voice channel I'm in, the green ring appears around it showing it IS sending audio, and it does ...
Bot still thinks other song is playing when skipping song 19 messages
onyx star Hello everyone! I have a bit of an odd issue. I added Music player functionality to my bot but sometimes (not always) it...
hey guys, how do i check if the bot is playing audio in discordjsvoice ? so no one can't input an t 9 messages
barren drum Is there any function like .isPlaying() or anything like that?
trying to play a local file but doesn't play anything 85 messages
glad anchor Yes I use absolute paths and I've double checked that the file works and has music.
Check if song is finished 5 messages
regal tinsel How can i check if the voice playing has stopped?
getVoiceConnections() how to loop the map? 10 messages
dry pasture This is annoying me so much. I try .map like you do for channels and nothing. Example of what I been doing: ```js getV...
bit won’t join voice channel 6 messages
toxic pumice My bot won't join my voice channel, does anyone know why? there is no errors ```message.channel.send(`Playing ${args[1]}...
How would I convert an opus stream into a PCM stream? 6 messages
marsh plover Hey again, I'm trying to incorporate Google Assistant into a discord bot. How would I go about converting the received o...
Bot won't join vc 2 messages
toxic pumice My bot won't join my voice channel, does anyone know why? there is no errors ```message.channel.send(`Playing ${args[1]}...
bot doesnt play audio after running and then being disconnected from call 3 messages
high mauve if i start my bot, then join it to a channel using the play function, then after about 20 minutes disconnect it using th...
use url instead of local file? 6 messages
hybrid parcel can I use a URL instead of a local file? https://srcshare.io/62f938f82f1d606601ba355a this doesn't work for some reason
Type error of JoinVoiceChannelOptions & CreateVoiceConnectionOptions 9 messages
hybrid parcel Argument of type '{ channelId: string; guildId: string; selfDeaf: true; }' is not assignable to parameter of type 'JoinV...
Listening to user's input 3 messages
marsh plover hi, am i able to get the voice of a user in a channel? i know i can play audio but I find nothing to listen to a user. t...
base 64 33 messages
frozen urchin How would I make my bot play audio that is a base 64 in vc
Trying to do a an echo with a bot but... 8 messages
oblique vessel Hii, i'm trying to make an "echo" with a bot, in order to export as a webstream file. But my bot do strange things... (E...
how many VCs the bot is in 4 messages
finite nexus how can i check how many voice channels my bot is in?
My bot leave channel voice, after 6 hours 11 messages
rapid chasm Hello, my bot leave channel voice, after 6 hours Please help me for my bot playing 24/24h 7/7d
998946512144969748 998946620345434174
my bot leaves all voice channels for no reason. for a few days... 62 messages
shy crow Hello 🙃, I have a problem since a few days, my bot suddenly leaves all the voice chat rooms without any reason. The bot...
Issues with playing audio in voice 32 messages
grim glen I am trying to make a music bot play an MP3 file, but it does not actually play Gist: https://gist.github.com/yodaheYT/0...
Find voice channel which user in it 3 messages
tawdry nymph djs v12 I'm tring to make tts bot using DM. If the bot got message to dm, get user id and find the voice channel which u...
Optimizing Playing Audio 11 messages
sweet snow Hi there, I was wondering if anyone had any tips for optimizing the playing of audio so the bot doesn't stutter, buffer,...
Getting disconnected from voice only on local dev machine 57 messages
brisk plinth When using my bot from the dev environment the bot will join the voice channel and play audio for around 2 mins and leav...
How to merge multiple audio sources on the fly 4 messages
iron wadi Do you know how to merge multiple audio source on the fly ? I tried to use ffmpeg using a stream as output but my bot wo...
Message?.member.voice.channel are the same 2 messages
strange geode Guys, when i create a const channel using = message.member?.voice.channel; This will return the channel with your proper...
how to create an audio stream from someone in a voice channel? 1 messages
olive iris i want to make a stream from a specific user and play the same stream to another voice channel and toggle this stream wh...
Cant install discordjs opus 8 messages
hollow wigeon Hello, Im trying to install `@discordjs/opus` but it gives me a long error.
998946512144969748
Not receiving any audio from local .mp3 5 messages
supple canyon hey so i have this local .mp3 file, and i have this code right here ```js if (!interaction.member.voice?.channel) { ...
AbortError - EPIPE 29 messages
kindred thunder Throws an abort error in console halfway through the song (see images below) yet the bot keeps running - this is just af...