From 4c6a0cc81ac29702f5cdc53d0e4ff4ed49b90dc8 Mon Sep 17 00:00:00 2001 From: phixxy Date: Fri, 2 Feb 2024 22:43:25 -0800 Subject: [PATCH] added logging to cog setup --- extensions/inky_phat.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extensions/inky_phat.py b/extensions/inky_phat.py index ecf98e9..421f61e 100644 --- a/extensions/inky_phat.py +++ b/extensions/inky_phat.py @@ -98,4 +98,8 @@ class InkyScreen(commands.Cog): async def setup(bot): - await bot.add_cog(InkyScreen(bot)) \ No newline at end of file + try: + await bot.add_cog(InkyScreen(bot)) + bot.logger.info("InkyScreen cog loaded") + except: + bot.logger.exception("Error loading InkyScreen cog") \ No newline at end of file