Added aioredis + custom context

This commit is contained in:
2021-10-31 14:43:53 +01:00
parent fc7da80b29
commit b3a6a3e13c
5 changed files with 43 additions and 9 deletions
+7
View File
@@ -0,0 +1,7 @@
from aioredis.client import Redis
from discord.ext import commands
class CustomContext(commands.Context):
def get_redis(self) -> Redis:
return self.bot._redis_client