Table of Contents

Class ForumPostBuilder

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

A builder to create a forum post.

public class ForumPostBuilder
Inheritance
object
ForumPostBuilder

Constructors

ForumPostBuilder()

Creates a new forum post builder.

Properties

AppliedTags

The tags to apply to this post.

AutoArchiveDuration

When to automatically archive the post.

Message

The message to initiate the forum post with.

Name

The name (or title) of the post.

SlowMode

The time (in seconds) that users must wait between messages.

Methods

AddTag(DiscordForumTag)

Adds a tag to the post.

AddTags(IEnumerable<DiscordForumTag>)

Adds several tags to the post.

RemoveTag(DiscordForumTag)

Removes a tag from the post.

WithAutoArchiveDuration(DiscordAutoArchiveDuration)

Sets the auto archive duration for the post.

WithMessage(DiscordMessageBuilder)

Sets the message to initiate the forum post with.

WithName(string)

Sets the name (or title) of the post.

WithSlowMode(int)

Sets slowmode for the post.

WithSlowMode(TimeSpan)

Sets slow mode for the post.