Class ModifyTextChannelProperties
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
Provides properties that are used to modify an ITextChannel with the specified properties.
public class ModifyTextChannelProperties : ModifyGuildChannelProperties
- Inheritance
-
ModifyTextChannelProperties
- Derived
- Inherited Members
Properties
SlowModeInterval
Gets or sets the slow-mode ratelimit in seconds for this channel.
public SlowModeInterval? SlowModeInterval { get; set; }
Property Value
Remarks
Setting this value will require each user to wait before sending another message; setting this value to
None will disable slow-mode for this channel;
if this value is set to null
, the slow-mode interval will not be modified.
note
Users with ManageMessages or ManageChannels will be exempt from slow-mode.
Topic
Gets or sets the topic of the channel.
public string? Topic { get; set; }
Property Value
Remarks
Setting this value to any string other than null
or Empty will set the
channel topic or description to the desired value.