aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/utils/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/cache.py b/bot/utils/cache.py
index 70925b71d..8a180b4fa 100644
--- a/bot/utils/cache.py
+++ b/bot/utils/cache.py
@@ -24,7 +24,7 @@ class AsyncCache:
@functools.wraps(function)
async def wrapper(*args) -> Any:
"""Decorator wrapper for the caching logic."""
- key = ':'.join(str(args[arg_offset:]))
+ key = args[arg_offset:]
if key not in self._cache:
if len(self._cache) > max_size: