Millenium is back
Millenium is back
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
:Check: , thanks guys
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
I wasn't going to relaunch this bot because the code is too old... I'll see if I can do it again... if not, too bad!
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
But my code works on my computer and was working on my vps, but after 3 month 💤
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
player.play(currentResource);
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
/home/container/node_modules/@discordjs/voice/dist/index.js:1111
throw new Error("Cannot play a resource that has already ended.");
^
Error: Cannot play a resource that has already ended.
at AudioPlayer.play (/home/container/node_modules/@discordjs/voice/dist/index.js:1111:13)
at VoiceConnection.<anonymous> (/home/container/structures/functions/play.js:36:14)
at VoiceConnection.emit (node:events:513:28)
at VoiceConnection.set state [as state] (/home/container/node_modules/@discordjs/voice/dist/index.js:1755:12)
at VoiceConnection.onNetworkingStateChange (/home/container/node_modules/@discordjs/voice/dist/index.js:1897:18)
at Networking.emit (node:events:513:28)
at Networking.set state [as state] (/home/container/node_modules/@discordjs/voice/dist/index.js:606:10)
at Networking.onWsPacket (/home/container/node_modules/@discordjs/voice/dist/index.js:740:18)
at VoiceWebSocket.emit (node:events:525:35)
at VoiceWebSocket.onMessage (/home/container/node_modules/@discordjs/voice/dist/index.js:462:10)
/home/container/node_modules/@discordjs/voice/dist/index.js:1111
throw new Error("Cannot play a resource that has already ended.");
^
Error: Cannot play a resource that has already ended.
at AudioPlayer.play (/home/container/node_modules/@discordjs/voice/dist/index.js:1111:13)
at VoiceConnection.<anonymous> (/home/container/structures/functions/play.js:36:14)
at VoiceConnection.emit (node:events:513:28)
at VoiceConnection.set state [as state] (/home/container/node_modules/@discordjs/voice/dist/index.js:1755:12)
at VoiceConnection.onNetworkingStateChange (/home/container/node_modules/@discordjs/voice/dist/index.js:1897:18)
at Networking.emit (node:events:513:28)
at Networking.set state [as state] (/home/container/node_modules/@discordjs/voice/dist/index.js:606:10)
at Networking.onWsPacket (/home/container/node_modules/@discordjs/voice/dist/index.js:740:18)
at VoiceWebSocket.emit (node:events:525:35)
at VoiceWebSocket.onMessage (/home/container/node_modules/@discordjs/voice/dist/index.js:462:10)
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
👍
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
with this code its logging console.log('Audio player is idle. Restarting playback.'); to infinity
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
wdym ? the eror ? (srry im french)
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
ye but i think i do what u are saying
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
it will be easier for you & me
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
ye, can i show you my code in dms ?
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
so how to destroy it ?
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
but radio link is working, and bot was working with this link
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is here on 1/16/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
hi, can someone fix it ? throw new Error("Cannot play a resource that has already ended."); ^ Error: Cannot play a resource that has already ended.
46 replies
DIAdiscord.js - Imagine an app
Created by Millenium is back on 4/8/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
link is working*
5 replies
DIAdiscord.js - Imagine an app
Created by Millenium is back on 4/8/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
its a link like http://icecast8.play.cz/skyrock128.mp The bot has been working without a problem for several months, but now I've got this problem that comes up as soon as I start the radio, even if I restart the bot.
5 replies
DIAdiscord.js - Imagine an app
Created by Millenium is back on 4/8/2024 in #djs-voice
Error: Cannot play a resource that has already ended.
v14
5 replies