From 4bbe6c8a8ffe158080cd05cb7d70ee8d21a96338 Mon Sep 17 00:00:00 2001 From: Lemon4ksan Date: Thu, 27 Feb 2025 23:18:08 +0300 Subject: [PATCH] fix: Remove lru_cache. --- MusicBot/cogs/utils/embeds.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/MusicBot/cogs/utils/embeds.py b/MusicBot/cogs/utils/embeds.py index 89e7e97..890c5a1 100644 --- a/MusicBot/cogs/utils/embeds.py +++ b/MusicBot/cogs/utils/embeds.py @@ -1,5 +1,4 @@ import logging -from functools import lru_cache from typing import cast, Final from math import ceil from os import getenv @@ -257,7 +256,6 @@ async def _generate_playlist_embed(playlist: Playlist) -> Embed: return embed -@lru_cache() async def _get_average_color_from_url(url: str) -> int: """Get image from url and calculate its average color to use in embeds.