djs-voice

1174 threads · Page 5 of 24

Speaking 'start'/'end' events trigger continuously - Caused by while loop? 31 messages
storm charm I have two ts at global level: `let startedSpeakingTimestamp; let stoppedSpeakingTimestamp;` then as part of my Voice...
How to check if a user is in a specific guild 3 messages
novel lion Hey there, I'm trying to make a command, that invites a person to a football club. Because, I don't want anyone to join...
How Can I make the bot leave a channel without having the connection that was created on his join ? 19 messages
olive trout When the bot joins a channel it creates a connection with the joinVoiceChannel() function but when we reset the bot the ...
set undefined 10 messages
indigo hearth this.client.voice.adapters.set(this.id, methods); ^ TypeError: Cannot read properties o...
unknown interaction 4 messages
rancid fern hello everyone i have a ticket bot and when the admin want to close the ticket and press the button he gets “Unknown int...
discord voice engine 2 messages
stuck basin hello im just asking if someone got an alternative discord voice engine that work on windows
opus opusscript
Bot joins the vc but audio doesn't play 8 messages
rocky moon yes the path is correct. ```js var { voice } = message.member if(!voice.channelId) return message.reply({conten...
opusscript
Audio Source 3 messages
Discord Music Player Stop Playing After 0.56s 7 messages
Low audio quality issue 3 messages
tight radish I'm using latest version of discord.js and discordjs/@voice but the quality of audio is much lower as compared to listen...
Where about in connection am I able to tell if the bot is paused/unpaused 3 messages
bleak plinth Using connection because i want to have it per guild
NPM Installer Error For Opus 8 messages
opus
Bot Works Locally, In Production Player States Goes To Idle Straight Away? 11 messages
median raven Hi, I'm having an issue with my bot in production. It works fine locally (macOS), but in production (Docker `node:20` i...
opus
VC Tracking 32 messages
play is not a valid method 13 messages
tawny grotto discord.js version:12.5.3
Record users with high input sensitivity 7 messages
hasty forge I use the next code for recording speaking users ```ts const connection = getVoiceConnection(<guild ID>); const receiver...
Audio recording stream 4 messages
sand sierra Hiya, I was wondering on how you now create audio streams? I only know is as `connection.receiver.createStream(message.m...
Bot dont Play audio 51 messages
buoyant mantle Hello my bot dont play but i dont know why ``` const voiceChannel = interaction.member.voice.channel; const conn...
Allowed sources to play 17 messages
wanton quiver Playing music from youtube is not allowed according to TOS. Thats fair and valid in my opinion. Now my question is, what...
Voice Connection Issue 27 messages
solemn beacon So, the bot joins the discord voice channel, then displays this after 15 seconds and then doesn't do anything. Node Vers...
wait for bot to play audio 5 messages
tall finch First time working with it, I have a cron job running eery 5 minutes. In the callback, the bot fetches an array and loop...
How to check if user join the voice 3 messages
daring dagger How to check if user join the voice
Error: Cannot play a resource that has already ended. 5 messages
dull copper How to fix that ? My bot is playing a webradio
Does anyone wanna make a remix of a this song and send it to me please 2 messages
cedar fossil pls
How do i close a receiver subscription (opus stream) 38 messages
knotty kayak setTimeout(() => this.connection.destroy(), after); this.emit('stop-listining-stream'); console.log(this.opusStr...
Bot stops playing when rejoining another channel 4 messages
raven lynx My bot plays in channel1. He uses `connection.disconnect()` to leave a voice channel, but the connection still exists. A...
Voice receiver doesn't pick up soundboard sounds 7 messages
tranquil sun I have a pretty fancy discord bot that uses a voice receiver to pick up audio from users. `const audioStream = getVoice...
addition 10 messages
Retrieve voice channel reference from voice connection 8 messages
main linden I'm trying to deal with the client being dragged to a different channel. I'm using code very similar to the example in t...
How to make it so the bot is ablke to set voice channels as private. 21 messages
thick mountain .
opus
Audio Resources immediately goes from "playing" to "idle" despite having NoSubscriberBehavior.Play 10 messages
somber oracle ```Core Dependencies - @discordjs/voice: [VI]{{inject}}[/VI] - prism-media: 1.3.5 Opus Libraries - @discordjs/opus: 0.9...
Check if user is banned 4 messages
void minnow I've checked online etc but can't find it I'm trying to make an unban command but when the user isn't banned and it's r...
cannot seem to download @discord.js/opus 10 messages
lusty silo Node v12+, Python 3+, and Microsoft Build Tools 2017+ i have already installed it. err https://sourceb.in/l5S3aPNIEn
Problem saving audioBuffer to file - whisper api 11 messages
proud viper Hi, how can i convert the audioBuffer into a e.g. wav file? I want to use whisper for spech regognition. this is my c...
Bot joining voice channel but not playing audio 5 messages
fiery fern Hi everyone. I am making a soundboard and while the bot is successfully joining the voice channel the audio file is not ...
opusscript
The Voice Help 2 messages
drowsy coral Hello, I have a question regarding the sound. My question is that I've done everything, every command, even made sure th...
multiple event listeners 26 messages
kind temple so this is the code i have ```js async create({ channel, member, }: { channel: discord.VoiceChannel; ...
opus opusscript
Error 24 messages
steady topaz root@VPS-10384:~/7bLogsBot# node index node:internal/modules/cjs/loader:1137 throw err; ^ Error: Cannot find module...
Maintaining connection after restarting node 5 messages
ionic vine I have a bot that would connect to a channel and play sounds. I have a slash command that would play one of the few soun...
state changes back to connecting after ready 22 messages
joinVoiceChannel does absolutely nothing 6 messages
slate flicker ```js const { SlashCommandBuilder } = require('discord.js'); const { joinVoiceChannel, getVoiceConnection, entersState, ...
Delete voice channel if 0 user 48 messages
untold schooner Guys, could anyone help me make sure the bot doesn't delete the channel if someone is there? At the moment it works, but...
Aborted 4 messages
torn dove Discord js v14.12.1
Why does @discordjs/opus only build properly with yarn? 74 messages
safe elk Hello, I'm not sure how much this is an "issue" because I mostly used yarn anyway but I noticed when I tried to switch t...
opus
Weird error 36 messages
deft valley i'm not certain why but for some reason whenever i play an audio (in this case, another audio stops abruptly to play ano...
opus
Playback stops for a moment and then resumes while sending request to websites 2 messages
quaint wyvern I have this is issue for a year but i always said i fix this later and now is the time to do it.The problem is when i pl...
opus
Discord Voice doesn't play anything when join voice channel 11 messages
earnest elk My bot still work when I run bot in windows, but when I host it on vps (Ubuntu), it doesn't speak anything, it still sli...
audio duration 5 messages
hollow wigeon is there any way yo get the audio duration using @discordjs/voice
opus opusscript
VC join embed 4 messages
solemn chasm when someone joins a vc and a group of people have I want a /vcinvite command that says join a vc with (users in vc) and...
Anyway to stop the audioPlayer from playing in another file? 4 messages
drifting oak I want to stop the audioPlayer from playing in another file, is there anyway to do this without importing it?