jagrosh / jagrosh/MusicBot

[Feature Request] Play the last song

Open
#402 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

For example, I played a song in my server last night. The next day, I wanna play the song but it's too far in the message history & since its a yt link, I have to go on looking for it.

Solution:
Have the bot be able to play the latest song again by a command. It could be achieved by just making it look for the latest messages starting with !play or whatever prefix.

**Describe the basic flow/steps of using this feature**
How this feature would be used:
1. Feature will only work if text channel has been set up.
2. Write command like !lastsong
3. Bot looks for the latest song with the prefix only in that specific text channel.
4. If not found, edit the message & say "Error not found"
5. If found, bot joins voice channel & plays.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing !play command, text-channel setup, message-history access, and voice playback flow. Confirm how the latest playable song is identified and how missing results are reported. Done means a command can find the latest song in the configured channel, report when none is found, and play it in the user's voice channel.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
audio-video-rtc, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.