diff --git a/cogs/close_support.py b/cogs/close_support.py index 580cff3..599be4e 100755 --- a/cogs/close_support.py +++ b/cogs/close_support.py @@ -36,7 +36,7 @@ async def on_thread_update(self, before, after) -> None: return if not after.archived or after.locked: return - logger.info("Locking thread %d due to thread archival.", after.id) + logger.debug("Locking thread %d due to thread archival.", after.id) await after.edit(archived=False) await asyncio.sleep(1) await after.edit(locked=True, archived=True) @@ -69,6 +69,6 @@ async def on_raw_reaction_add(self, payload) -> None: ): return - logger.info("Locking thread %d due to owner resolving it.", payload.channel_id) + logger.debug("Locking thread %d due to owner resolving it.", payload.channel_id) await thread.edit(locked=True) PROM_CLOSED.inc() diff --git a/cogs/mod_message.py b/cogs/mod_message.py index d93c5a3..3a343dd 100644 --- a/cogs/mod_message.py +++ b/cogs/mod_message.py @@ -98,7 +98,7 @@ async def mod_message( return extra = {"tags": {"message": message.value, "sender": member.display_name}} - logger.info("Sending canned message %s.", message.value, extra=extra) + logger.debug("Sending canned message %s.", message.value, extra=extra) await interaction.response.send_message( "Sending canned message.", ephemeral=True,