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
|
|
@ -69,8 +69,4 @@ class Pokedex(commands.Cog):
|
|||
await ctx.channel.send(message)
|
||||
|
||||
async def setup(bot):
|
||||
try:
|
||||
await bot.add_cog(Pokedex(bot))
|
||||
bot.logger.info("Successfully added Pokedex Cog")
|
||||
except:
|
||||
bot.logger.info("Failed to load Pokedex Cog")
|
||||
await bot.add_cog(Pokedex(bot))
|
||||
Loading…
Add table
Add a link
Reference in a new issue