Thread Manager - Create and manage Discord threads with full control over settings. Threads are temporary sub-channels that help organize conversations.
18/100 characters
How long before the thread automatically archives due to inactivity
0 = disabled, max 21600 (6 hours)
// Create a public thread from a message
const message = await channel.send('Welcome to the thread! Feel free to discuss here.');
const thread = await message.startThread({
name: 'General Discussion',
autoArchiveDuration: 1440,
rateLimitPerUser: 0,
reason: 'Creating thread'
});
console.log(`Created thread: ${thread.name}`);
// Alternative: Create thread without a starter message (requires MANAGE_THREADS)
const thread = await channel.threads.create({
name: 'General Discussion',
autoArchiveDuration: 1440,
rateLimitPerUser: 0,
type: ChannelType.PublicThread,
reason: 'Creating thread'
});