diff --git a/off_cooldown_bot/main.py b/off_cooldown_bot/main.py index f56d0b5..c43e1de 100644 --- a/off_cooldown_bot/main.py +++ b/off_cooldown_bot/main.py @@ -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)