mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 22:07:48 +00:00
Migrated settings cog
This commit is contained in:
@@ -3,7 +3,7 @@ from abc import abstractmethod
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from context import CustomContext
|
||||
from tunebot.context import ContextLike
|
||||
|
||||
from aioredis.client import Redis
|
||||
|
||||
@@ -34,7 +34,7 @@ class RedisBotEntity(RedisEntity):
|
||||
|
||||
|
||||
class RedisContextEntity(RedisEntity):
|
||||
def __init__(self, ctx: "CustomContext") -> None:
|
||||
def __init__(self, ctx: "ContextLike") -> None:
|
||||
self.ctx = ctx
|
||||
super().__init__()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user