Retro
DIAdiscord.js - Imagine an app
•Created by Sheraz on 2/19/2025 in #djs-questions
How to connect Discord Gateway API on the NodeJS backend
you should be able to run it unless your backend is serverless or something. other than that, listening for events is quite basic javascript
10 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
Yes
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
Go read the discord tos
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
Kindly leave then. We don't support that here.
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
If you're a beginner, I recommend reading the guide and https://discordjs.guide
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
No you will need to implement that yourself but this is how to react to a message
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
No worries but this will involve some database and stuff so you do need a good foundation in javascriptb
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
?
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
Use a messageCreate listener to monitor the messages and react
47 replies
DIAdiscord.js - Imagine an app
•Created by #100 dapro on 1/26/2025 in #djs-questions
i need help
You can't react unless there's a message to react to
47 replies
DIAdiscord.js - Imagine an app
•Created by jackasu on 1/18/2025 in #djs-voice
RangeError: offset is out of bounds [@discordjs/opus]
tbh this is unlike anything ive seen before
25 replies
DIAdiscord.js - Imagine an app
•Created by jackasu on 1/18/2025 in #djs-voice
RangeError: offset is out of bounds [@discordjs/opus]
yeah
25 replies
DIAdiscord.js - Imagine an app
•Created by jackasu on 1/18/2025 in #djs-voice
RangeError: offset is out of bounds [@discordjs/opus]
really strange tbh
25 replies
DIAdiscord.js - Imagine an app
•Created by jackasu on 1/18/2025 in #djs-voice
RangeError: offset is out of bounds [@discordjs/opus]
yeah idk either. but the error is coming from opus encoder
25 replies
DIAdiscord.js - Imagine an app
•Created by Ishh on 1/22/2025 in #djs-voice
Player State = idle
this is more related to general streams rathar than djs voice. what you need to do is create a ReadableStream that pulls the next chunk of the live stream instead of 1 big stream url that will be disconnected
6 replies
DIAdiscord.js - Imagine an app
•Created by MadeBomb on 1/19/2025 in #djs-voice
No audio on Windows 11 when playing mp3 file
use fluent ffmpeg
23 replies
DIAdiscord.js - Imagine an app
•Created by MadeBomb on 1/19/2025 in #djs-voice
No audio on Windows 11 when playing mp3 file
hm if manually calling ffmpeg is working, i think its an issue on prism media's end. could you try manually calling ffmpeg instead of letting discord.js do it?
23 replies
DIAdiscord.js - Imagine an app
•Created by jackasu on 1/18/2025 in #djs-voice
RangeError: offset is out of bounds [@discordjs/opus]
seems like the encoder failed to write encode the stream properly. could you try to manually make an ffmpeg stream via fluent ffmpeg or prism media and enter the output into
createAudioResource
?25 replies
DIAdiscord.js - Imagine an app
•Created by jackasu on 1/18/2025 in #djs-voice
RangeError: offset is out of bounds [@discordjs/opus]
this isnt a ffmpeg issue btw. its an opus encoder issue
25 replies