djs-voice

1174 threads · Page 17 of 24

Discord.js Intents V14 (Valid Intents must be provided) 39 messages
hearty pelican Im having an issue with intents. Im on Discord Version 14.7.1 and Node version 19.3.0 My Index file declaring intents i...
Voice don't work 3 messages
crisp sentinel Error Cannot read properties of undefined (reading 'setChannel')
how can I make a bot a speaker of the stage channel? 7 messages
summer zodiac .
opusscript
djs voice 5 messages
regal tinsel how can i check if bot is not playing without idle event
discord-player 8 messages
bronze shore Hi I am trying to make music bot. And I have problem. I have code from website: https://discord-player.js.org/docs/main/...
djs voice 14 messages
mighty bone ```js const { createAudioResource } = require('@discordjs/voice'); const resource = createAudioResource('/home/user/voi...
Installing Opus gives me the following error 16 messages
umbral harbor Any help, please?
TypeError Cannot read properties of undefined (reading 'once') 3 messages
sick peak ```js function downloadFromInfoCallback(text, lang, speed, stream) { const url = googleTTS.getAudioUrl(text, { ...
Playing Stream In Discord's Voice Channel 3 messages
spark olive Hey, I'm trying to play a Stream into a voice channel, I've already got the stream and its updating but when I'm trying ...
Play a Stream in voice channel 3 messages
Trouble using voice as a module 42 messages
upper sierra hey there, i checked a bit but cant find anything on this issue: I've installed discord.js/voice using "npm install @di...
Remove audio from RAM 2 messages
opaque girder When the bot play an audio, it will be saved in the ram, how can i remove it when the audio finishes? v13.12
How to know when the bot is disconnected ? 3 messages
gleaming mica Hey, There is a way to know when the bot is disconnected from the voice channel ? :) Thanks
Speech to text 6 messages
Speaking 6 messages
sick peak in djs v12 i was doing ```voice_Connection.on('speaking', async (user, speaking) => {``` how can i do the same eve...
Dependency Report showing different FFMPEG version 9 messages
upbeat hatch So I'm somewhat newer to Linux/Ubuntu, and after recently finally being able to get an Oracle Cloud Instance (ARM based,...
problem with audio player 42 messages
mighty bone y discord bot plays same sound in multiple servers ```const connection = joinVoiceChannel({ ...
VoiceState.channel is null when connected to voice channel 7 messages
bitter wraith Here's my code: ```ts const member = await i.guild.members.fetch(i.user.id), channel = member.voice.channel if (!channel...
Speech To Text 2 messages
vernal hill What did I need to do a Bot that sends that what I say in a Voice Channel in a Text Channel?
MaxListenersExceededWarning - Streaming local files breaks on third song 3 messages
thorny plaza Versions: Node - 18.12.1 Discord.js - 14.7.1 I have a music feature that iterates through a directory of local music fi...
Are these sweepers are the same in the docs its not straight for me. 2 messages
Encoding an AudioRecieveStream into s16le Audio Samples 64 messages
stark tartan sorry if this is a bit off topic, but I don't know where else to ask. I need to convert the AudioRecieveStream from disc...
opus
usage of audio player 2 messages
primal comet hello, should the audio player in a voice connection be destroyed and recreated every time an audio file is played, or s...
How can I detect when a resource has finished playing? 6 messages
left flicker How can I detect when a resource has finished playing? DIscord.js v14 Latest, Discord,js/voice latest
Bot isn't able to play a local audio file 3 messages
north jetty Hi. The code has no error when ran. I am able to get the bot into the voice channel but when I want it to play the audio...
Elapsed audio resource duration 17 messages
wide river Hello everyone, I'm currently trying to implement a proper progress bar which displays the playback of the current song....
Checking for currently playing audio 9 messages
steel vector I am trying to check if the player is playing audio, and if it is, then i dont want to override that audio with new audi...
Change FFMPEG options when using inlineVolume=true 4 messages
willow ocean How to change the FFMPEG options discord uses when enabling `inlineVolume` on `createAudioResource`?
How can I encode a PCM stream 4 messages
normal yew I have a `readable` and I want a way to play it. I am assuming I need to encode it to opus
opus
How to record VC with discord.js voice? 11 messages
left flicker How to record VC with discord.js voice? I already search about it, but I couldn't find anything...
How to handle Audio Receive Stream Pipeline on Connection Destroy (bot disconnected) 6 messages
sweet snow This is my code inside my receiver speaking on start event: ```ts const opusStream = receiver.subscribe(userId, { ...
Cannot create a Buffer larger then 0x10... Bytes (Discordjs opus encoder) 6 messages
audio aint working 38 messages
sweet eagle ``` const connection = joinVoiceChannel( { channelId: '1055401035599990795', guildId...
Metadata for createAudioResource is null 4 messages
hushed whale I'm trying to fetch metadata about the Audio Resource (specifically the time length of the audio) however, the metadata ...
Server mute and unmute 5 messages
jagged shore I wanted to know if there was a way to make it server mute and unserver mute itself
Record an audio track from each user 4 messages
opaque tulip Im trying to code a bot for me and my friends that will join a call when one of us joins the call and record a separate ...
My bot cannot join voice channels 38 messages
prisma panther I wanted to make a discord bot for a friend where it would join a voice channel when it started, but for some reason it ...
opus opusscript
Can't make tts word 10 messages
dusky meteor hello guys! i'm trying to make my discord bot to play a tts message but it doesn't work, audio doesn't play, any suggest...
How to leave my Bot from a voice channel with djs voice? 4 messages
left flicker How to leave my Bot from a voice channel with djs voice?
couldn't be built 7 messages
hushed anvil how could i fix this
opus opusscript
HELP 5 messages
obtuse quarry I am learn djs
opus
Move don't work 7 messages
crisp sentinel error ReferenceError: setChannel is not defined
Receiving an error while trying to join a voice channel 16 messages
vital karma When I run a command which should make my bot to join a voice channel, I get this error. Before trying `joinVoiceChanne...
End behavior for AudioReceiveStream 4 messages
reef pendant I can't seem to get it to work the way I expect. If I understand correctly, the stream should close after `duration` mil...
opus
Move Command 2 messages
crisp sentinel How to make a command that if the user uses the command, it will move him to the channel
how do I know if the webhook doesnt exist? 6 messages
rain sleet Webhook ID and token are in DB
How to get voiceAdapter in a different way (using other library not djs) 3 messages
How do you write an mp3 or playable file when getting voice-input from an user 3 messages
foggy ocean ```JS let receiver = connection.receiver let stream receiver.speaking.on("start", userid => { let user = client....
Is there a way to specify encoder args when playing audio 2 messages
mighty ember For example `-af bass=g=10,dynaudnorm=f=200`
How can I play multiple audio streams simultaneously 9 messages
raw rampart I'm building a bot that streams live audio from a voice call to the user's computer. The issue I'm having is making the ...