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

Weird error

i'm not certain why but for some reason whenever i play an audio (in this case, another audio stops abruptly to play another) or i stop the audioplayer altogether, i get this error everything still works and i could still insert more audio or continue using the music but it's odd that i receive an error like this is it because i'm not using djs (i use oceanic.js) or is there another reason?...
No description

Playback stops for a moment and then resumes while sending request to websites

I have this is issue for a year but i always said i fix this later and now is the time to do it.The problem is when i playing music it plays with no issue but when i try to add a song to queue there is a moment that fetching video info from youtube while that playback lags and resumes like 1 second later. I think problem is node js's single-threaded nature but how can prevent this to happen?

Discord Voice doesn't play anything when join voice channel

My bot still work when I run bot in windows, but when I host it on vps (Ubuntu), it doesn't speak anything, it still slient "dependencies": { "@discordjs/opus": "^0.9.0", "@discordjs/rest": "^2.2.0",...

audio duration

is there any way yo get the audio duration using @discordjs/voice

VC join embed

when someone joins a vc and a group of people have I want a /vcinvite command that says join a vc with (users in vc) and then has a join button under that connects you to the vc

Anyway to stop the audioPlayer from playing in another file?

I want to stop the audioPlayer from playing in another file, is there anyway to do this without importing it?

Why is there no audio playing

Sorry I have an issue of no audio playing. https://gitlab.com/seabass6969group/barginingewan_bot/-/blob/master/src/commands/getCreeped.ts?ref_type=heads code is here I have confirmed that the discord bot can join in to the channel and also no error message is being split out...

having issues with discord voice during `npm install`

When I tried to run npm install inside a docker container in the built process it breaks. And I have no clue why is doing that. The detail screenshot is attached. Docker container running arch Linux Installed ffmpeg and nodejs and npm gitlab repo: https://gitlab.com/seabass6969group/barginingewan_bot/...
No description

Why?

is not working
No description

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, {...

AudioPlayerError: aborted

how to fix AudioPlayerError: aborted error?

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...