diff --git a/jarvis/utils/cogs.py b/jarvis/utils/cogs.py index 1675a58..49f4d7a 100644 --- a/jarvis/utils/cogs.py +++ b/jarvis/utils/cogs.py @@ -70,7 +70,7 @@ class ModcaseCog(Cog): lookup_key = f"{user.id}|{ctx.guild.id}" - async with self.bot.redis.lock(lookup_key): + async with self.bot.redis.lock("lock|" + lookup_key): if await self.bot.redis.get(lookup_key): self.logger.debug(f"User {user.id} in {ctx.guild.id} already has pending case") return