From d6c77799e384c750cc7e9dcac55f8a2406df8273 Mon Sep 17 00:00:00 2001 From: EthanC <16727756+EthanC@users.noreply.github.com> Date: Tue, 20 Feb 2024 01:43:06 -0600 Subject: [PATCH] Move archived thread logging to new channel --- components/messages.py | 2 +- config_example.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/messages.py b/components/messages.py index 7cd03ff..4803fa1 100644 --- a/components/messages.py +++ b/components/messages.py @@ -69,7 +69,7 @@ async def TaskArchiveThreads( ) await bot.rest.create_message( - config["channels"]["user"], + config["channels"]["threads"], Responses.Log( "thread", f"Archived thread {Responses.ExpandThread(thread)} with reason: *Maximum lifespan exceeded*", diff --git a/config_example.json b/config_example.json index f229cb9..557e550 100644 --- a/config_example.json +++ b/config_example.json @@ -7,7 +7,8 @@ "channels": { "moderators": 1234567890, "moderation": 1234567890, - "user": 1234567890 + "user": 1234567890, + "threads": 1234567890 }, "users": { "owner": 1234567890,