discord.js - Imagine an app

DIA

discord.js - Imagine an app

Support server for discord.js, a Node.js module to interact with Discord's apps API.

Join

djs-questions

djs-voice

Bot didn't speak in voice on an host

Hi, I make a bot who play radio with URL of free API. My command works when I test it on my own computer but when I put it on a host, the bot do not speak. Here my code : ...
No description

createAudioResource has stopped working for me, only getting Status code 403

Hey! I've had my bot running for a couple of years now without many issues until now. Using createAudioResource yields the 403 error. I've tried with both ytdl-core and ytdl-core-discord. These are my package dependencies if that matters: "dependencies": { "@discordjs/opus": "^0.9.0",...

different player in different guilds

Is it possible to create players in diffrent guilds that it also plays diffrent things? Currently I'm creating my player like this but i can't find out how to create a custum one for a server ```js...

Bot not connecting to voice channel

Hey guys, so I could need a little bit of help. I wrote a Bot yesterday that should be able to connect to a voice channel. Took me a while, but I figured it out and it worked like a charm. So, when I checked Discord this morning, I saw that my bot went offline, nothing to serious. But after it started, it just kept on the "Signalling" state of the voice connection. I checked, that the Intent is set, but I can't see any other reason for this issue. Does someone know, what I can do?...

No sound ( no green circle)

Hello, i followed the official discord js v14 voice guide and my bot is not playing any sound. No green circle too. Here's the code: ```js ...

Bot not playing audio

When running the command, it does join the VC successfully and it pops up the green ring around it as it is talking/playing but nothing is coming out at all. Not sure if this matters but - d.js version - discord.js@14.15.3...

Voice issue reciver !!

the bot didn't send me mp3 of what i said in the first 10s of talking !

How can i recive the voice of discord user from the bot please ???????????,

How can i recive the voice of discord user from the bot please ???????????, like how can i make the bot record / capture what the user is saying in voice ! ??

How can i recive the voice of discord user from the bot please ???????????,

How can i recive the voice of discord user from the bot please ???????????, any examples plz ?

Help

how would i seek to a specific point in the current playing audio stream

No audio are played (no green circle)

so here's my command /play (currently the option is a path for a file but i have a code to get a video from yt based on name but it's not important here). The bot is simply not playing sound at all. Here are my files and the console log (i have debug option and i ran the command with the path to the file wich was correct)
No description

Change stream without stop

How can i change the current audio playing without making the bot stops, in the code in the image i'm applying seek and some filters and its working but there is timeout between the change, is there is anyway to prevent that?
No description

Audio stops randomly

Bot Stops playing the audios randomly after a while without any error.

Voice not playing

I've created this code and i'm sure the audioStream is correct but it's still not playing audio's
No description

Discord bot wont play audio file(no green circle)

discord.js@14.15.3 node v18.18.1 Im super new to discord js (started yesterday) , or even programming. Ik streaming from yt is not allowed and im want to play from local files that i have in my folder ...

Troubleshooting tips for AudioPlayer stuck buffering

Latest packages of everything, going through the cycle of -> join VC and get a VoiceConnection object -> create an AudioPlayer and do a VoiceConnection.subscribe() to the player -> create a valid AudioResource with stream type "opus" -> AudioPlayer.play(AudioResource)...

Set the custom activity of a bot in VC

With Discord adding custom activity statuses for people in VC, is there a way to do this for bots also?

Cannot find module @discordjs

Hey ! I want to play around with the voice library but I have this error
``` node:internal/modules/cjs/loader:599 throw e;...

Full voice logging

Anyone knows how to make a full voice logging system that logs when an administrator disconnect a user and when a user disconnect by himself. By using audit logs, there is no difference between disconnecting yourself and being disconnected by an admin because only when an admin does it a log is created