mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 23:27:47 +00:00
8 lines
180 B
Python
8 lines
180 B
Python
from aioredis.client import Redis
|
|
from discord.ext import commands
|
|
|
|
|
|
class CustomContext(commands.Context):
|
|
def get_redis(self) -> Redis:
|
|
return self.bot._redis_client
|