BuildcordDocs

Delete a thread

Remove a public or private thread.

server.threadDelete deletes a thread and its messages.

Settings

SettingWhat it does
ThreadThe thread to delete. Defaults to {thread}.
Audit log reasonThe reason Discord records.

Ways out

out. Turn on If it fails for a red way out.

Notes

  • You can't undo it. To keep the history, use Edit a thread to archive it instead.
  • The bot needs the Manage Threads permission.

On this page