zRitsu / MuseHeart-MusicBot

bot de música programado em python com player interativo, suporte a multi-bot, comandos barra/slash, integração com last.fm e muito mais.
GNU General Public License v2.0
97 stars 87 forks source link

Bot edit Player message instead of sending a Ephemeral response when using Favorites-related functions #42

Open SeasonPhan opened 11 months ago

SeasonPhan commented 11 months ago

Edit: the bug occour when there is only 1 song in user's list of favorites

How to Replicate: When a song is playing, click on "Add to favorite" or "Add a song from my Favorite to the queue" or when there are no song playing, click on "Play a song from my Favorite to the queue"

Behavior:

  1. The bot edit the player message, making all buttons disappear
  2. There are no logs/errors displayed on console
  3. Problem occour on both Pinned Player Mode and Normal Mode Screenshot below

image

SeasonPhan commented 11 months ago

Edit: the bug occour when there is only 1 song in user's list of favorites