Change bot channel scan log to debug level

This commit is contained in:
BreadTube 2025-10-01 04:49:42 +09:00 committed by Corentin
commit 0e6f2a8588

View file

@ -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: