$guildCreatePost
$guildCreatePost
will create a post within a guild forum.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
forumId | number | The ID of the forum channel. | true |
name | string | The name of the forum post. | true |
content | string | The content of the start message. | true |
autoArchiveDuration? | number | The automatic archive duration of the forum post. - 1440 (one day) - 60 (one hour) - 10080 (one week / default) - 4320 (three days) | false |
returnId? | boolean | Return the ID of the newly created forum post? | false |
reason? | string | The reason displayed in the guild’s audit logs. | false |
…appliedTags? | string | The applied post tags. Optional when the forum channel does not require tags. | false |
Example(s)
This will create a post in the given forum with the name “this is a post” with an embed and a button attached to the message: