Table of Contents

Method SetState

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

SetState(bool)

Enables or disables this component.

public DiscordPremiumButtonComponent SetState(bool disabled)

Parameters

disabled bool

Whether this component should be disabled.

Returns

DiscordPremiumButtonComponent

The current component.