$removeThreadMember
$removeThreadMember
will remove a given thread member from a given thread.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | The ID of the channel of where the thread is located in. | true |
threadID | number | The thread ID. | true |
userID | number | The ID of the user that will be removed from the given thread. | true |
reason? | string | Reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will remove the command author from a given thread: