receiver end event not triggering
Hello, does anyone know why my end event is never triggering? (last line)
```const receiver = connection.receiver;
const audioStream = receiver.subscribe(user, {...
Is there anyway to see if a discord bot is not playing anything
Not sure how to do it any help is appricated
Opus stream
are there any easy ways to convert the opus stream you receive from discord into wav buffer?
Bot joins channel but does not play audio
The reason I fetch from the API is self explanitory - https://pastebin.run/63p-4pc6t9wr
for some reason, the commands stopped registering
today I decided to add commands to the bot
, I wrote a command, I launch the bot to test it
, I enter / and there is no command that I added, I tried to create a new bot on the portal, I changed the client id, token in the new bot, no commands are registered at all...
Does `AudioPlayer#play` Immediately play audio to voice without using `joinVoiceChannel` method?
Title explains it I guess
URL Audio Resource Streaming Stopped Working
idk whats going on so maybe one of you can help... my bot has been broken for a few months I thought it was broken because of the URL changes but no URL seems to work only local files
it says it started playing and immediately stops
I don't hear anything though
```
--------------------------------------------------...
how to check if the message author is in a voice channel?
I was looking at the other forum but seems like the original author deleted their post.
The compressed data passed is corrupted
yo why is it saying "The compressed data passed is corrupted"
How do I get a stream to the voice that the bot in
While the bot is in some voice channel, how do I get a stream for the voice channel? or at least for a person in channel
I will loop over the users in the voice channel to make stream for them if this how it works...
AudioPlayerState randomly turns to Idle after a while
Question was too long for discord, I made a stack overflow question and here's the link: https://stackoverflow.com/questions/77960972/discord-bot-player-state-randomly-changing-to-idle-and-therefore-stopping-playba
"Error: FFmpeg/avconv not found!" but i have FFmpeg
Even though i have FFmpeg, it still gives me this error, but what could be the cause? (It was working before, i didn't do anything)
Auto pause
For some reason the bot is auto pausing the audio immediately once it starts, here's my code:
```js
const connection = joinVoiceChannel({
channelId: channel.id,...
Bot recognizes speech event twice or more
I'm struggeling with following issue:
I created a bot that should recognize different voice commands and play audio according to the command. I'm working with discord-speech-recognition and @discordjs/voice. So far so good, everything works fine when I'm testing it. But when a friend of mine is testing it, the bot often recognizes the msg twice or even more times. He's using the mobile app, so I also tried it with my phone and still I have no problems. I followed the discord-speech-recognition example usage for discord.js v14
`client.on(SpeechEvents.speech, (msg) => {
if(!msg.content) return;...
Can a bot find the value of a field in a embed?
I'm trying to make this bot that can find the value of the first field that a webhook sends. Is that possible and how so?