mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 21:17:48 +00:00
Added aioredis + custom context
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user