voice
voice copied to clipboard
Implementation of the Discord Voice API for discord.js and other JS/TS libraries
### Issue description It takes the AudioPlayer around 800-900ms to fully buffer before finally playing in a voice channel. This is up from { if (oldState.status === 'playing' && newState.status...
Updating the Interaction methods to the latest discord.js version - interaction.defer() -> interaction.deferReply() - interaction.get() -> interaction.getString() Fixing the audio resource. The track was not being played and the parameters...
**Please describe the changes this PR makes and why it should be merged:** This PR updates examples for Discord.js v13. Additionally, it fixes a [documentation error](https://github.com/discordjs/voice/commit/84c267829b9302c7da0cf5b973165e5307f175dc#diff-c8b39ef66dfab8b1d90c475e891dc6c9af4fb87e8002cf4c18aff7afb3d91a6b). Closes #170. **Status and...
### Feature In Discord.JS v12 and below, we had the option to record audio directly to PCM, which was quite useful for the many packages that used PCM streams, like...
Fixes for a bunch of Typescript errors in the music bot example.
### Issue description Steps to reproduce the issue : - Install discordjs/voice via npm - ``npm install @discordjs/voice`` - Install discordjs/opus via npm - ``npm install @discordjs/opus`` - Install sodium...
**Please describe the problem you are having in as much detail as possible:** **Include a reproducible code sample here, if possible:** ```js // Place your code here let stream =...
### Feature The new documentation of @discord.js/voice is not completed and many things are missing.i was looking for getVoiceConnection for instance but didnt found it . ### Ideal solution or...
``` member.guild.channels.cache.get(voiceChannel.id).members.forEach((tempMember) => { const filename = './recordings/${Date.now()}-${tempMember.id}.ogg'; const opusStream = receiver.subscribe(tempMember.id, { end: { behavior: EndBehaviorType.AfterSilence, duration: 100, }, }); //const rawAudio = opusStream.pipe(new opus.Decoder({ frameSize: 960, channels: 2,...
``` ubuntu 33024 33017 7 8월26 ? 04:34:36 /home/ubuntu/.nvm/versions/node/v16.6.2/bin/node /home/ubuntu/bot/index.js ubuntu 36962 33024 0 8월26 ? 00:00:01 /home/ubuntu/bot/node_modules/ffmpeg-static/ffmpeg -i - -analyzeduration 0 -loglevel 0 -f s16le -ar 48000 -ac 2...