From 6154071995a64f87f7a659f83f7f0a18bc4c2a41 Mon Sep 17 00:00:00 2001 From: Alex <74823568+zRitsu@users.noreply.github.com> Date: Sat, 5 Oct 2024 01:23:42 -0300 Subject: [PATCH] =?UTF-8?q?N=C3=A3o=20incluir=20bot=C3=B5es=20na=20embed?= =?UTF-8?q?=20de=20mix/recomenda=C3=A7=C3=B5es=20adicionadas.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/music.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/music.py b/modules/music.py index 046c4a51..02fa1233 100644 --- a/modules/music.py +++ b/modules/music.py @@ -1871,7 +1871,10 @@ def check_song_selection(i: Union[CustomContext, disnake.MessageInteraction]): if footer_txt: embed.description += f"\n-# {footer_txt}" - if loadtype == "track": + if mix: + components = [] + + elif loadtype == "track": components = [ disnake.ui.Button(emoji="💗", label="Favoritar", custom_id=PlayerControls.embed_add_fav), disnake.ui.Button(emoji="▶️", label="Tocar" + (" agora" if (player.current and player.current.autoplay) else ""), custom_id=PlayerControls.embed_forceplay),