AlexDiego123
AlexDiego123
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
i also asked in other-js-ts #Handling network errors
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
I downgraded the discord.js of the bot to the one that my other bot that is not giving this error has and still it's giving this error and i have to fix this
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
how do i handle this error
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
yes i know because sometimes my router restarts and it's not my dns it's because while it restarts there's no internet but i can't figure out why my other bot is not giving this error and is just reconnecting instead this one is giving this error and then it crashes and doesn't reconnect
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
Well I’m trying to handle an error that comes from discord.js so this should be djs related
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
No description
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
as i already said i have another bot that has version 14.14.1 instead of 14.15.3 and is written in javascript instead of typescript and that bot is not giving this error and is just reconnecting when my network comes back up
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
No description
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
but there's no error handling that prevents it from crashing
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 7/8/2024 in #djs-questions
Network errors
It looks like discord.js is already handling the error? The process is not exiting and pm2 is not restarting it
18 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
ok i got it working, thanks for helping me!
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
ok
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
ok and in maxMissedFrames is there a way to set it to infinite
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
is this ok?
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
end: {
behavior: EndBehaviorType.Manual
}
end: {
behavior: EndBehaviorType.Manual
}
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
btw i realized it wasn't a string and i tried end: EndBehaviorType.Manual but still nothing
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
i want it to always stream the user's voice no matter if you're talking or not
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
can you write an example for me?
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
it said to set the manual mode in the connection.receiver.subscribe but it didn't change anything i did this:
connection.receiver.subscribe(userid, {
end: 'manual'
});
connection.receiver.subscribe(userid, {
end: 'manual'
});
23 replies
DIAdiscord.js - Imagine an app
Created by AlexDiego123 on 11/5/2023 in #djs-voice
Relay audio from a channel to another
how do i fix this so that it always streams until i stop it?
23 replies