Skip to content

Commit

Permalink
changed logging of loaded cog
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanAkkerman committed Aug 7, 2024
1 parent 6648c87 commit a50f836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def load_cog(filename, foldername):
logger.info(f"Loading: {filename}")
bot.load_extension(f"cogs.{foldername}.{filename[:-3]}")
except discord.ExtensionAlreadyLoaded:
logger.warning(f"Extension already loaded: {filename}")
logger.debug(f"Extension already loaded: {filename}")
except discord.ExtensionNotFound:
logger.warning(f"Cog was not found: {filename}")
except Exception as e:
Expand Down

0 comments on commit a50f836

Please sign in to comment.