discord.removeThreadMember removes one user from a Discord thread.
automations/discord-remove-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
Removing another user requires the appropriate thread-management permission. Usediscord.leaveThread for the connected bot.