Hello !
I'm trying to read a path in a textfile to play a song but it's not working...
What I have :
Selfmade Browser that is writing a path to a textfile :

When button is clicked a textfile is created (or content from this textfile is replaced by the path of my selected song)

This textfile contains something like this :

So in my discord bot I did :

It seems like "connection.playFile(chemin)" isn't working because when I write the path instead of my variable "chemin" it works fine like "connection.playFile('D:/Musique/Hardtek/1.mp3')"
Can someone help me fix this please ?
The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the Discord server instead of opening an issue – you will get redirected there anyway.
Ok i'll try there thanks !
Most helpful comment
The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the Discord server instead of opening an issue – you will get redirected there anyway.