aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index ba09ce207..313652d11 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -70,6 +70,7 @@ class Bot(commands.Bot):
password=constants.Redis.password,
)
+ self.redis_closed = False
self.redis_ready.set()
def add_cog(self, cog: commands.Cog) -> None:
@@ -137,7 +138,6 @@ class Bot(commands.Bot):
# Create the redis session
self.loop.create_task(self._create_redis_session())
- self.redis_closed = False
# Use AF_INET as its socket family to prevent HTTPS related problems both locally
# and in production.