From 0e6f2a85886cf279807c4b51168fbdeb19e346d9 Mon Sep 17 00:00:00 2001 From: BreadTube Date: Wed, 1 Oct 2025 04:49:42 +0900 Subject: [PATCH] Change bot channel scan log to debug level --- breadtube_bot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/breadtube_bot/bot.py b/breadtube_bot/bot.py index 10f0f4e..e44664f 100644 --- a/breadtube_bot/bot.py +++ b/breadtube_bot/bot.py @@ -145,7 +145,7 @@ class Bot: return messages def _scan_bot_channel(self): # noqa: PLR0915 - self.logger.info('Starting scanning bot channel') + self.logger.debug('Starting scanning bot channel') messages = self._get_all_channel_messages(self.bot_channel) init_message_found = False new_config: Config | None = None @@ -291,7 +291,7 @@ class Bot: Bot.Task.DELETE_MESSAGES, time.time() + self.config.bot_message_duration, list(delayed_delete.values()))) - self.logger.info('Bot channel scanned') + self.logger.debug('Bot channel scanned') def _get_subscription_channel(self, subscription: SubscriptionInfo, channel_dict: dict[str, TextChannel], category_ranges: list[tuple[int, int, ChannelCategory]]) -> TextChannel: