after some times, the bot retrieve an error

AudioPlayerError: aborted
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketCloseListener (node:_http_client:441:19)
at TLSSocket.emit (node:events:525:35)
at node:net:757:14
at TCP.done (node:_tls_wrap:584:7)
Emitted 'error' event on AudioPlayer instance at:
at OggDemuxer.onStreamError
AudioPlayerError: aborted
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketCloseListener (node:_http_client:441:19)
at TLSSocket.emit (node:events:525:35)
at node:net:757:14
at TCP.done (node:_tls_wrap:584:7)
Emitted 'error' event on AudioPlayer instance at:
at OggDemuxer.onStreamError
I don't know what does this 🤔
9 Replies
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Hugo4774
Hugo4774•2y ago
14.3.0 what is the best library for a bot to transmit song ? i use ytdl, should i turn into youtube-dl ?
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
dubfib
dubfib•2y ago
against the tos, you can't use youtube anymore you can use soundcloud, make sure you use their api and follow their terms https://developers.soundcloud.com/docs/api/guide#playing
Hugo4774
Hugo4774•2y ago
Interesting, however there is some songs only on youtube 😦
dubfib
dubfib•2y ago
or you can use radio
Hugo4774
Hugo4774•2y ago
and with radio, can i play a specific youtube url ?
dubfib
dubfib•2y ago
you can't, its a radio i'm just saying thats another option
Hugo4774
Hugo4774•2y ago
okay yes it won't work in my case
Want results from more Discord servers?
Add your server
More Posts