jagrosh / jagrosh/MusicBot

[Bug Report] search bug

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

Description

### Bug Description

When using search and reacting with a number of a search result before the bot reacted to its message with its last reaction ( :x: ), the bot doesn't detect it.

### Steps to Reproduce

1. use the search command
2. react fast e.g. 1, before the bot reacts with :x:

### Expected Result

I expected that the bot would add the song anyway.

### Debug Output

-

### Additional Info

_No response_

### Checklist

- [x] I have looked for information about this [within the documentation](https://jmusicbot.com/)
- [x] I have searched for similar issues [on the issues page](https://github.com/jagrosh/MusicBot/issues?q=is%3Aissue)
- [x] I am running the latest version of the bot: ![Release](https://img.shields.io/github/release/jagrosh/MusicBot.svg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the search command and react with a result number before the bot adds its final reaction. Trace the search-result reaction handling and verify that an immediate numeric reaction still adds the selected song.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.