From 163e6f99ebc9484bc3b5fef32ef6032124b44b31 Mon Sep 17 00:00:00 2001 From: Krutyi-4el <60041069+Krutyi-4el@users.noreply.github.com> Date: Tue, 6 Feb 2024 23:07:27 +0200 Subject: [PATCH] disable views on timeout (#103) --- musicbot/commands/music.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/musicbot/commands/music.py b/musicbot/commands/music.py index 600d29d8..7aabfadc 100644 --- a/musicbot/commands/music.py +++ b/musicbot/commands/music.py @@ -133,7 +133,8 @@ async def _search(self, ctx: AudioContext, *, query: str): *( SongButton(self, i, data["url"]) for i, data in enumerate(results, start=1) - ) + ), + disable_on_timeout=True, ), )