From 87456f32d23f6b03c777879e9b57d6c173255f0f Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Sun, 5 May 2024 02:40:35 +0100 Subject: [PATCH] Remove redis ping --- src/cogs/starboard.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cogs/starboard.py b/src/cogs/starboard.py index 989fb3d..941afee 100644 --- a/src/cogs/starboard.py +++ b/src/cogs/starboard.py @@ -124,10 +124,6 @@ class Starboard(commands.Cog): if payload.guild_id not in self.config["whitelist"]: return - if not await self.redis.ping(): - # Could not contact redis, not much point trying anything else without the database - return self.log.critical("Failed to contact redis (ping failed)!") - guild: discord.Guild = self.bot.get_guild(payload.guild_id) starboard_channel: discord.TextChannel | None = discord.utils.get( guild.text_channels,