Table of Contents

Class ModifyBehaviorRestrictionProperties

Namespace
Kook
Assembly
Kook.Net.Experimental.dll

提供用于修改 IBehaviorRestriction 的属性。

public class ModifyBehaviorRestrictionProperties
Inheritance
ModifyBehaviorRestrictionProperties
Inherited Members

Properties

Conditions

获取或设置要设置到此服务器行为限制的限制条件类型。

public IReadOnlyCollection<IBehaviorRestrictionCondition>? Conditions { get; set; }

Property Value

IReadOnlyCollection<IBehaviorRestrictionCondition>

Duration

获取或设置要设置到此服务器行为限制的限制持续时长。

public TimeSpan? Duration { get; set; }

Property Value

TimeSpan?

IsEnabled

获取或设置要设置到此服务器行为限制的启用状态。

public bool? IsEnabled { get; set; }

Property Value

bool?

Name

获取或设置要设置到此服务器行为限制的名称。

public string? Name { get; set; }

Property Value

string

RestrictionType

获取或设置要设置到此服务器行为限制的行为类型。

public BehaviorRestrictionType? RestrictionType { get; set; }

Property Value

BehaviorRestrictionType?

See Also