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

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)

[email protected] 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

User Flow Diagram for Music Bot AudioPlayer Behavior

Has anybody made or seen a flow diagram for music logic? I'm looking for something that totally documents the procedure beginning at the initial play call to building the AudioResource, handling of skips, pause, resume, reconnection/error handling (disconnecting bot, moving bot to different channel, connection loss, etc.), and a graceful exit. YES, I have read the docs, but it'd be helpful to have something to reference so that I don't miss any important steps that are hard to debug. If nobody has a solution, I'll take one for the team and share my diagrams once I've built/tested my solution. If this post is in the wrong category or has already been answered (I couldn't find a similar post), please kindly refer me to where I should go 🙂...

Recording a user

Has anyone made something similar to a Discord bot that you can talk to in VC? 1. You say a message 2. The bot converts to text 3. Bot sends to API (e.g. GPT)...

Merge audio buffers

hey, i would like to merge audio buffers from @discordjs/voice, how can i do ?

Bot is silent in voice

The bot has worked in voice for the last few years, had to restart tonight because of different reasons and suddenly, the bot connects and really believes it's playing in voice, but is completely silent.

Bot Doesn't Start Playing (Green Circle)

Hey, Bot is joining to channel and bot has admin permissions but no sound ```js const connection = await joinVoiceChannel({ channelId: "1249051760610246846", guildId: "869927911526903828",...
No description

Probleme Player

hello i have probleme my discord bot is good in local fille but in my vps he doesn't work you know why ? ``` Error: Status code: 410...

The operation was aborted

My bot successfully connects to channels, then tries to await entersState(connection, VoiceConnectionStatus.Ready, 15e3); but for some channels it enters to the Ready state successfully while for others the following error is got: AbortError: The operation was aborted at EventTarget.abortListener (node:events:993:14) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:741:20)...