backend-0.2.0 => main #1

Merged
raphix merged 6 commits from backend-0.2.0 into main 2025-03-01 17:03:17 +00:00
Showing only changes of commit 5e722e9dbc - Show all commits

View File

@@ -5,7 +5,8 @@ const plog = require("loguix").getInstance("Player")
async function play(instance, song) {
//const resource = await song.getResource()
const resource = createAudioResource(song.url)
//Test with a local file
const resource = createAudioResource("C:\\Users\\picot\\Downloads\\Confrontation_Replique_Raphix.mp3")
console.log(resource)
// Wait until connection is ready
instance.connection.once(VoiceConnectionStatus.Ready, async () => {