Zorceon127
DIAdiscord.js - Imagine an app
•Created by Zorceon127 on 11/13/2023 in #djs-voice
Voice keeps crashing
I saw the faq post and i already have and tried 0.16.1 of discord js voice but it still keeps disconnecting and crashing with a error, its completly random at times it can play entirely or only work for a few secs before it crashes and yes i checked the file and it indead says its on version 0.16.1 and i am using discordjs 14.13.0
Here is the error code:
AudioPlayerError: aborted
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketCloseListener (node:_http_client:461:19)
at TLSSocket.emit (node:events:526:35)
at node:net:323:12
at TCP.done (node:_tls_wrap:588:7) {
resource: AudioResource {
playStream: OggDemuxer {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 5,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
_remainder: null,
_head: null,
_bitstream: null,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: [Function: bound onwrite]
},
edges: [ [Object], [Object] ],
metadata: null,
volume: undefined,
encoder: undefined,
audioPlayer: AudioPlayer {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
_state: [Object],
subscribers: [Array],
behaviors: [Object],
debug: [Function (anonymous)],
[Symbol(kCapture)]: false
},
playbackDuration: 25700,
started: true,
silencePaddingFrames: 5,
silenceRemaining: -1
}
}
21 replies
DIAdiscord.js - Imagine an app
•Created by Zorceon127 on 10/9/2022 in #djs-voice
join members voice channel
how do i get the currently joined voice channel of sender and make it join and play audio there?
11 replies