discord_leave_thread
Removes the bot user from a Discord thread. Private threads require re-adding or reinviting the bot to rejoin.
Instructions
Remove the bot user from a thread. If the thread is private, the bot must be re-added or reinvited to rejoin. To join a thread, use discord_join_thread; to remove another user, use discord_delete_thread_member. No special bot permissions. Changes or removes existing Discord data without an approval prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ID of the thread to leave |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | ||
| channel_id | Yes | Discord snowflake ID as a numeric string |