Method SetState
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
SetState(bool)
Enables or disables this component.
public DiscordButtonComponent SetState(bool disabled)
Parameters
disabled
boolWhether this component should be disabled.
Returns
- DiscordButtonComponent
The current component.