Audio Source

Hello i got a question How can we play an audio with the Source Thing but Without Put The Whole File Path From the C: For exemple to the music we want to play can we do something bc i need to put it on a server but it wont play bc idk what is the Disk of the server and others things
5 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
duck
duck2mo ago
relative paths are fine as long as you understand that fs uses the current working directory as the base there's also plenty of ways to resolve relative paths to absolute paths yourself to avoid any confusion (such as the native path module)
NoRushJustChat
NoRushJustChat2mo ago
Do you know where can i learn the Path Module ? ho wto use it ?
d.js docs
d.js docs2mo ago
:node: Path Source Code: lib/path.js
NoRushJustChat
NoRushJustChat2mo ago
Thks