Bleuzen / Blizcord

Discord Bot written in Java using JDA and lavaplayer
MIT License
21 stars 6 forks source link

How do I play a local file? #27

Closed TR27XD closed 3 years ago

TR27XD commented 3 years ago

I added a playlist with !add and the file path of the folder. The bot started playing music as it joined, the first one on the folder. Now if I want it to play a specific file on the folder, what exactly should I put after the !play command? And is it possible to get a "Now Playing «song name»" message, every time the song changes?

Bleuzen commented 3 years ago

To play a local file is as simple as adding the filename at the end of the path.

!play /home/user/music/some_artist/album/some_song.mp3

The bot already displays the currently playing song as the current playing game.