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