update_component_one
Coroutineà attendre avec await
Comme update_component, mais seulement si exactement un composant correspond.
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],) -> boolParamètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
message | Any | requis | |
selector | str | Callable[[Dict[str, Any]], bool] | requis | |
updates | Dict[str, Any] | requis |
Retour
bool