[Feature Request] Embed with the video's thumbnail in play command
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
### Is your feature request related to a problem? Please describe.
When a user adds a song using search or by URL, sometimes they don't know exactly what what the video is just by the video title. A visual thumbnail can be an extra layer of assurance that the song is the correct one they want to add.
### What is your ideal solution to the problem?
My ideal solution would to add an embed with the video's thumbnail and a clickable link to the video with the "Playing" text.
A [fork of this bot](https://github.com/trongtinh1212/JMusicBot-Fork) that recently broke uses this and it's a very useful feature when you are using the search feature to add a song and aren't sure if it's the right song.
➡️ **Read the "Additional Info" section for the code.** ⬅️
Here's a preview of what it looked like on the [fork](https://github.com/trongtinh1212/JMusicBot-Fork):

At the top is the [YouTube channel's](https://www.youtube.com/@HyperPotions) name; underneath of that is the hyperlinked YouTube video's title with the hyperlink going to the [YouTube video](https://www.youtube.com/watch?v=-cA_0LsHtg4).
In the middle is the [YouTube video's Thumbnail](https://i.ytimg.com/vi/-cA_0LsHtg4/maxresdefault.jpg).
At the bottom is some additional info such as the [requesting user's icon](https://cdn.discordapp.com/avatars/403282008232427531/1d1359645ed0b4578a22e73670f770c7.webp?size=100), the channel that the bot is playing music in (In this image, it's name is "a"), the song's position in queue (0 since this song is the only song), and the song's length (02:18 because that's this particular song's length).
⚠️ **_This should be an optional feature toggleable in config.txt due to extra bandwidth needed to get the thumbnail._**
### How would this feature be used?
1. The bot owner edits the "config.txt" file and sets a setting named "song_thumbnails" to True instead of the default of False.
2. A bot user uses a command to add a song to the playlist. Ex: "!!play hyper potions borderline forever"
3. The bot loads the song then edits it's loading message and gives the normal message for adding a song, but also adds an embed with the video's clickable title (links to the YouTube Video) and thumbnail

### Additional Info
Based on what I found lurking in the [fork's](https://github.com/trongtinh1212/JMusicBot-Fork) files, it appears that the code for this is **[right here](https://github.com/trongtinh1212/JMusicBot-Fork/commit/5794d1157cfe02eab4ab8ce179b3773031094f39)**. This should be relatively easy to implement, but just note that the code has been migrated to JDK17, although it was migrated on a later date, so you should be fine.
This could also be implemented into the "Now Playing" command as well.
Now I'm no artist, but here's a concept of what I am thinking if it were to be implemented to the "Now Playing" Command:

It kinda looks like it's the actual video, which I think is very stylistic and understandable for the user.
Another concept:

### Checklist
- [X] I have checked [the documentation](https://jmusicbot.com/) to make sure this feature doesn't already exist
- [X] I have searched for [similar feature requests](https://github.com/jagrosh/MusicBot/labels/enhancement)
- [X] I have confirmed that my requests is **not** on the [list of things that will not be added](https://jmusicbot.com/things-that-wont-be-added)
- [X] I am running the latest version of the bot: 
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with config.txt and the play and Now Playing command entry points, then compare the referenced fork commit for its thumbnail behavior. Done means the optional setting defaults off and, when enabled, the relevant playback message includes the video's linked title and thumbnail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100