discord-interactions.py

from_dict

Fonction

Autocomplétion à partir d'un dict {libellé: valeur}.

from discord_interactions import from_dict

Signature

def from_dict(    mapping: Dict[str, Any],) -> Callable[..., Awaitable[List[Tuple[str, Any]]]]

Paramètres

NomTypeDéfautDescription
mappingDict[str, Any]requis

Retour

Callable[..., Awaitable[List[Tuple[str, Any]]]]

Tape un nom : create_button, ModalBuilder, cooldown.