removed try/except block when adding cog, as sparky does that now

This commit is contained in:
phixxy 2024-02-04 00:21:35 -08:00
parent 70f008bf82
commit c7fe4b2c2a
10 changed files with 12 additions and 53 deletions

View file

@ -60,8 +60,4 @@ class Admin(commands.Cog):
self.bot.logger.info(f"Update command attempted by {ctx.author.id}")
async def setup(bot):
try:
await bot.add_cog(Admin(bot))
bot.logger.info("Successfully added Admin cog")
except:
bot.logger.exception("Failed to add Admin cog")
await bot.add_cog(Admin(bot))