Table of Contents
API reference

Method SetState

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

SetState(bool)

Sets whether this menu item is disabled.

public DiscordMenuActionItemComponent SetState(bool disabled)

Parameters

disabled bool

Whether the item should be unavailable for selection.

Returns

DiscordMenuActionItemComponent

This menu item.