discord-interactions.py

create_modal_row

Fonction

Rangée de modale au format ancien (ActionRow + TextInput).

from discord_interactions import create_modal_row

Signature

def create_modal_row(component: Any) -> Dict[str, Any]

Paramètres

NomTypeDéfautDescription
componentAnyrequis

Retour

Dict[str, Any]

Tape un nom : create_button, ModalBuilder, cooldown.