disable_buttons
Function
Copy of the components with buttons and selects disabled; Link buttons stay active.
from discord_interactions import disable_buttonsSignature
def disable_buttons( components: Dict[str, Any] | Sequence[Dict[str, Any]],) -> List[Dict[str, Any]]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
components | Dict[str, Any] | Sequence[Dict[str, Any]] | required |
Returns
List[Dict[str, Any]]