$addThreadMember
$addThreadMember
will add a member to a thread.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | Channel ID of where the thread is located. | true |
threadID | number | The thread ID. | true |
userID | number | The user that should be added to the thread. | true |
reason | string | The reason that will be displayed in the guild’s audit logs. | true |
Example(s)
This will create a thread and add random user to it: