disable_all_components
Function
Copy of the components with every button and select disabled, at any depth.
from discord_interactions import disable_all_componentsSignature
def disable_all_components(components: Sequence[Any]) -> List[Dict[str, Any]]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
components | Sequence[Any] | required |
Returns
List[Dict[str, Any]]