Change bot channel scan log to debug level
This commit is contained in:
parent
693564bb04
commit
0e6f2a8588
1 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ class Bot:
|
||||||
return messages
|
return messages
|
||||||
|
|
||||||
def _scan_bot_channel(self): # noqa: PLR0915
|
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)
|
messages = self._get_all_channel_messages(self.bot_channel)
|
||||||
init_message_found = False
|
init_message_found = False
|
||||||
new_config: Config | None = None
|
new_config: Config | None = None
|
||||||
|
|
@ -291,7 +291,7 @@ class Bot:
|
||||||
Bot.Task.DELETE_MESSAGES,
|
Bot.Task.DELETE_MESSAGES,
|
||||||
time.time() + self.config.bot_message_duration,
|
time.time() + self.config.bot_message_duration,
|
||||||
list(delayed_delete.values())))
|
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],
|
def _get_subscription_channel(self, subscription: SubscriptionInfo, channel_dict: dict[str, TextChannel],
|
||||||
category_ranges: list[tuple[int, int, ChannelCategory]]) -> TextChannel:
|
category_ranges: list[tuple[int, int, ChannelCategory]]) -> TextChannel:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue