discord.addThreadMember adds one user to a Discord thread.
automations/discord-add-thread-member.automation.ts
Inputs
RequiredthreadId and userId. Optional second argument { account } selects the Discord binding.
Output
Returns nothing after Discord accepts the membership change.Discord behavior
Adding another user requires the appropriate thread-management permission. Adding the bot itself is handled bydiscord.joinThread.