426 B
426 B
Threads
Message.create_thread
and TextChannel.create_thread
let you start new threads.
Use :class:AutoArchiveDuration
to control when a thread is automatically archived.
from disagreement.enums import AutoArchiveDuration
await message.create_thread(
"discussion",
auto_archive_duration=AutoArchiveDuration.DAY,
)