discord_delete_thread_member
Remove a user from a Discord thread by user ID when you have Manage Threads or own the thread; the thread must be active.
Instructions
Remove another user from a thread by user ID. Needs Manage Threads, or being the creator of a private thread; the thread must not be archived. To have the bot leave a thread instead, use discord_leave_thread; to add someone to a thread, use discord_add_thread_member. Bot permissions it may need: Manage Threads. Destructive: the user is asked to approve the exact change before it runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ID of the user to remove from the thread | |
| channel_id | Yes | ID of the thread to remove the member from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| user_id | Yes | Discord snowflake ID as a numeric string | |
| channel_id | Yes | Discord snowflake ID as a numeric string |