added logging to cog setup
This commit is contained in:
parent
f2627f9935
commit
4c6a0cc81a
1 changed files with 5 additions and 1 deletions
|
|
@ -98,4 +98,8 @@ class InkyScreen(commands.Cog):
|
||||||
|
|
||||||
|
|
||||||
async def setup(bot):
|
async def setup(bot):
|
||||||
await bot.add_cog(InkyScreen(bot))
|
try:
|
||||||
|
await bot.add_cog(InkyScreen(bot))
|
||||||
|
bot.logger.info("InkyScreen cog loaded")
|
||||||
|
except:
|
||||||
|
bot.logger.exception("Error loading InkyScreen cog")
|
||||||
Loading…
Add table
Add a link
Reference in a new issue