mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-24 11:43:01 -05:00
[Audio] Hotfix an edge case where an attribute error can be raised (#3328)
* Limit Playlists Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com> * Hotfix Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com> * Hotfix Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
This commit is contained in:
@@ -750,6 +750,8 @@ class MusicCache:
|
||||
log.debug(f"Querying Local Database for {query}")
|
||||
task = ("update", ("lavalink", {"query": query}))
|
||||
self.append_task(ctx, *task)
|
||||
else:
|
||||
val = None
|
||||
if val and not forced:
|
||||
data = val
|
||||
data["query"] = query
|
||||
|
||||
Reference in New Issue
Block a user