update_component_one
Coroutinemust be awaited
Like update_component, but only when exactly one component matches.
from discord_interactions import update_component_oneSignature
async def update_component_one( message: Any, selector: str | Callable[[Dict[str, Any]], bool], updates: Dict[str, Any],) -> boolParameters
| Name | Type | Default | Description |
|---|---|---|---|
message | Any | required | |
selector | str | Callable[[Dict[str, Any]], bool] | required | |
updates | Dict[str, Any] | required |
Returns
bool