Skip to content

Commit

Permalink
Move archived thread logging to new channel
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanC committed Feb 20, 2024
1 parent 758ac88 commit d6c7779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*",
Expand Down
3 changes: 2 additions & 1 deletion config_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"channels": {
"moderators": 1234567890,
"moderation": 1234567890,
"user": 1234567890
"user": 1234567890,
"threads": 1234567890
},
"users": {
"owner": 1234567890,
Expand Down

0 comments on commit d6c7779

Please sign in to comment.