Table of Contents

Class ForumChannelProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll
public class ForumChannelProperties : TextChannelProperties
Inheritance
ForumChannelProperties
Inherited Members

Properties

DefaultLayout

Gets or sets the rule used to display posts in a forum channel.

public Optional<ForumLayout> DefaultLayout { get; set; }

Property Value

Optional<ForumLayout>

Remarks

This property cannot be changed in media channels.

DefaultReactionEmoji

Gets or sets a new default reaction emoji in this forum channel.

public Optional<IEmote> DefaultReactionEmoji { get; set; }

Property Value

Optional<IEmote>

DefaultSortOrder

Gets or sets the rule used to order posts in forum channels.

public Optional<ForumSortOrder> DefaultSortOrder { get; set; }

Property Value

Optional<ForumSortOrder>

SlowModeInterval

Gets or sets the topic of the channel.

public Optional<int> SlowModeInterval { get; }

Property Value

Optional<int>

Remarks

Not available in forum channels.

Tags

Gets or sets a collection of tags inside of this forum channel.

public Optional<IEnumerable<IForumTag>> Tags { get; set; }

Property Value

Optional<IEnumerable<IForumTag>>

ThreadCreationInterval

Gets or sets rate limit on creating posts in this forum channel.

public Optional<int> ThreadCreationInterval { get; set; }

Property Value

Optional<int>

Remarks

Setting this value to anything above zero will require each user to wait X seconds before creating another thread; setting this value to 0 will disable rate limits for this channel.

note

Users with ManageMessages or ManageChannels will be exempt from rate limits.

Exceptions

ArgumentOutOfRangeException

Thrown if the value does not fall within [0, 21600].