NinthDOCS

Features / Auto threads

Auto threads

Auto threads keep busy channels tidy: every new message in a chosen channel gets its own thread, so replies stay with the post they belong to. This page is for admins, with a section for members at the end.

Who can manage auto threads

Turning auto threads on or off and changing their settings needs Manage Server or Administrator. You can do it in three places:

  • The /autothreads command.
  • /setup, in the 🧵 Auto threads section.
  • The dashboard, under Settings, Auto threads.

All three change the same settings, and every change shows up in the settings history, where it can be undone.

Turning it on in a channel

/autothreads add channel:#showcase

That's all you need: with no other options, each thread is named after the first line of the message and gets a short reply with Rename and Close buttons. Run /autothreads add again on the same channel to change its settings. Options you leave out keep their current value.

OptionRequiredWhat it does
channelYesA text or announcement channel
titleNoThe thread name, with placeholders. Default: {first_line}
replyNoYour own reply text, with placeholders. Type default to go back to the default text
reply_enabledNoPost the reply with the buttons in each thread. Default: on
include_botsNoAlso start threads on messages from bots and webhooks. Default: off
archive_afterNoHide the thread after 1 hour, 24 hours, 3 days or 1 week without messages. Default: the channel's own setting
slowmodeNoSlowmode inside each thread, in seconds, from 0 (off) to 21600 (6 hours)
status_reactionsNoReact 🆕 on the message until someone else replies, and ✅ when the thread is closed. Default: off
/autothreads remove channel:#showcase
/autothreads list

/autothreads remove stops new threads in that channel. Threads that already exist stay as they are. /autothreads list shows every auto-thread channel with its settings.

The bot needs Create Public Threads, Send Messages in Threads, Read Message History and, for status reactions, Add Reactions in the channel. These are not part of the invite link, so give them to the bot's role in the channel or server. The bot warns you when you turn on a channel where it is missing one, and posts in the mod log when it can't make a thread.

Which messages get a thread

Every normal message and reply from a member gets a thread. The bot skips:

  • Its own messages.
  • Messages from other bots and webhooks, unless include bots is on.
  • System messages such as joins, pins and boosts.
  • Messages that already have a thread.

Thread title and reply

The title and the reply can use these placeholders:

PlaceholderBecomes
{first_line}The first line of the message, without formatting
{user.name}The poster's username
{user.display}The poster's display name in the server
{channel}The channel name
{date}The date the message was posted, as YYYY-MM-DD (UTC)
{user}A mention of the poster. Reply only
/autothreads add channel:#bug-reports title:{user.display}: {first_line}

A thread name can be up to 100 characters; a longer one is cut off with …. When the title comes out empty, for example for a message that is only an image, the thread is named {user.display}'s thread. Placeholders work in any capitalisation.

The reply can be up to 1000 characters. Without one, it says:

Thread for {user}. Keep the conversation about this post in here.
-# The poster and staff can rename or close it with the buttons below or `/thread`.

The reply only pings the poster, never roles or everyone.

Renaming and closing a thread

The person who posted the message, and anyone with Manage Threads in the channel, can rename or close the thread. They can use the Rename and Close buttons on the bot's reply, or these commands inside the thread:

/thread rename title:Fixed in 1.2
/thread close

Discord allows two renames per thread every 10 minutes, so the bot tells you how long to wait instead of trying a third. Closing posts a short note in the thread and archives it. Anyone who sends a message in a closed thread reopens it.

With status reactions on, the message shows 🆕 until someone other than the poster replies in the thread, and ✅ once it is closed. The ✅ goes away when the thread is reopened.