Fix smells in main.py.
build_develop / build (push) Successful in 26s

This commit is contained in:
2025-03-18 10:11:52 -04:00
parent 857b5f1669
commit b727a80e4f
+2 -2
View File
@@ -30,7 +30,7 @@ def main() -> None:
intents.message_content = True
# To enable the guilds privileged intent:
# intents.guilds = True
# intents.guilds = True # noqa: ERA001
# To enable the members privileged intent:
intents.members = True
@@ -47,7 +47,7 @@ def main() -> None:
if bot.user is None:
ocd_logger.critical("Discord connection failed.")
return
ocd_logger.info(f"{bot.user.name} has connected to Discord!")
ocd_logger.info("%s has connected to Discord!", bot.user.name)
# Run Discord bot
bot.run(settings.params.discord_token)