discord-interactions.py

quick_row

Fonction

Rangée de boutons : quick_row(b1, b2) ou quick_row([b1, b2]).

from discord_interactions import quick_row

Signature

def quick_row(*buttons: Dict[str, Any] | Sequence[Dict[str, Any]]) -> Dict[str, Any]

Paramètres

NomTypeDéfautDescription
*buttonsDict[str, Any] | Sequence[Dict[str, Any]]

Retour

Dict[str, Any]

Tape un nom : create_button, ModalBuilder, cooldown.