$addThreadMember
Adds a member to the thread.
Usage
This function has four params.
Param | Description | Type | Required |
---|---|---|---|
guildID | The guild that this thread channel belongs to. | Snowflake | Yes |
threadID | The thread to add this user to. | Snowflake | Yes |
userID | The user to add to this thread. | Snowflake | Yes |
reason | The reason for adding this user to the thread. | String | No |
Example
Last updated