djs-voice

1174 threads · Page 19 of 24

options.adapterCreator is not a function 4 messages
Volume 5 messages
crude sparrow How do i get the current volume of the bot?
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...
opus
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...
opus
not joining voice channel 4 messages
jovial gale ```js const { Client, GatewayIntentBits } = require('discord.js'); const { joinVoiceChannel } = require('@discordjs/voic...
Seeking to different timestamps produces incorrect playbackDuration values 5 messages
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
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...
opus
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...
opus
cant install opus on node 19.x 13 messages
soft vault i really need help please
opus
Receiving and playing back voice 11 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...
opus
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...
opus
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?
opusscript
Nvm 2 messages
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?
opus
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...
opus opusscript
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...
[Solved]How do i check if user and bot is in the same voice channel 5 messages
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...