mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-13 21:41:55 +03:00
Revert "fix: Add defer to some buttons."
This commit is contained in:
@@ -194,8 +194,6 @@ class SwitchTrackButton(Button, VoiceExtension):
|
||||
)
|
||||
return
|
||||
|
||||
await interaction.response.defer()
|
||||
|
||||
if callback_type == 'next':
|
||||
title = await self.play_next_track(interaction, button_callback=True)
|
||||
else:
|
||||
@@ -383,8 +381,6 @@ class MyVibeButton(Button, VoiceExtension):
|
||||
}
|
||||
)
|
||||
return
|
||||
|
||||
await interaction.response.defer()
|
||||
|
||||
if track:
|
||||
logging.info(f"[MENU] Playing vibe for track '{track["id"]}'")
|
||||
|
||||
Reference in New Issue
Block a user