discord.createThread creates a standalone public, private, or announcement Discord thread.
automations/discord-create-thread.automation.ts
Inputs
Required parentchannelId and name. Optional type, autoArchiveDuration, rateLimitPerUser, and reason. Private threads also accept invitable. Optional second argument { account } selects the Discord binding.
Output
Returns the created thread asDiscordChannel.