discord-interactions.py

chain

Fonction

Combine plusieurs autocomplétions, sans doublons.

from discord_interactions.slash import chain

Signature

def chain(    *handlers: Callable[..., Awaitable[List[Tuple[str, Any]]]],) -> Callable[..., Awaitable[List[Tuple[str, Any]]]]

Paramètres

NomTypeDéfautDescription
*handlersCallable[..., Awaitable[List[Tuple[str, Any]]]]

Retour

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

Tape un nom : create_button, ModalBuilder, cooldown.