Bot does not play any music, with no error message at all
``
export async function execute(interaction) {
const query = interaction.options.getString("query");
const songPath =
audio/${query}`; ...Audio from websites other than a file
!play url
and it plays the url
which is the music video link.Detect Move
if(oldState.channelId !== null && newState.channelId !== null) {}
if(oldState.channelId !== null && newState.channelId !== null) {}
not playing
Getting poll results.
Player state changes to "playing" when resource ends
encryption does not work
Bot don't join VC (err: TypeError: Cannot read properties of undefined (reading 'set') )
Typescript complains about adapterCreator after upgrading to v0.17.0
@discordjs/voice
from 0.16.1
to 0.17.0
and discord.js
from 14.14.1
to 14.16.3
, and now this snippet makes typescript complains about
```
Type 'InternalDiscordGatewayAdapterCreator' is not assignable to type 'DiscordGatewayAdapterCreator'.
Types of parameters 'methods' and 'methods' are incompatible.
......The bot says it's playing the audio but I can't hear anything on discord.
@discordjs/opus: make: g++: Command not found
bot leave voice channel after a while
Play audio problem
FAQ: Cannot play audio as no valid encryption package is installed (After installing sodium-native)
sodium-native
is already installed, but the @discordjs/voice
still didn't recognize it :convit:
```ts
--------------------------------------------------
Core Dependencies...ffmpeg potential memory leak
node_modules/ffmpeg-static/ffmpeg -i - -analyzeduration 0 -loglevel 0 -acodec libopus -f opus -ar 48000 -ac 2 pipe:1
node_modules/ffmpeg-static/ffmpeg -i - -analyzeduration 0 -loglevel 0 -acodec libopus -f opus -ar 48000 -ac 2 pipe:1
How do you get a voice channel's user list?
AudioPlayer goes from buffering -> playing -> idle and warns that resource is not playable
idle
after a few milliseconds and it stays silent in Discord....