fix(discord): support forum channel thread-create (#10062)
* fix(discord): support forum channel thread-create * fix: harden discord forum thread-create (#10062) (thanks @jarvis89757) --------- Co-authored-by: Shakker <shakkerdroid@gmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@ export function registerMessageThreadCommands(message: Command, helpers: Message
|
||||
),
|
||||
)
|
||||
.option("--message-id <id>", "Message id (optional)")
|
||||
.option("-m, --message <text>", "Initial thread message text")
|
||||
.option("--auto-archive-min <n>", "Thread auto-archive minutes")
|
||||
.action(async (opts) => {
|
||||
await helpers.runMessageAction("thread-create", opts);
|
||||
|
||||
Reference in New Issue
Block a user