removed try/except block when adding cog, as sparky does that now
This commit is contained in:
parent
70f008bf82
commit
c7fe4b2c2a
10 changed files with 12 additions and 53 deletions
|
|
@ -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))
|
||||
Loading…
Add table
Add a link
Reference in a new issue