Remove redis ping
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 27s

This commit is contained in:
Nexus 2024-05-05 02:40:35 +01:00
parent ef45712aa8
commit 87456f32d2
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -124,10 +124,6 @@ class Starboard(commands.Cog):
if payload.guild_id not in self.config["whitelist"]: if payload.guild_id not in self.config["whitelist"]:
return 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) guild: discord.Guild = self.bot.get_guild(payload.guild_id)
starboard_channel: discord.TextChannel | None = discord.utils.get( starboard_channel: discord.TextChannel | None = discord.utils.get(
guild.text_channels, guild.text_channels,