Added basic Redis support

This commit is contained in:
2025-02-09 23:37:44 +01:00
parent b3a7e3623a
commit a54ef39e53
4 changed files with 96 additions and 31 deletions

View File

@@ -15,6 +15,7 @@ class HoloBot(PycordBot):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._set_cache_engine()
def _set_cache_engine(self) -> None:
if "cache" in self.config and self.config["cache"]["type"] is not None: