create_separator
Fonction
Séparateur (type 14) : trait et espacement vertical.
from discord_interactions import create_separatorSignature
def create_separator( divider: bool = True, spacing: int | str = 1, component_id: int | None = None,) -> Dict[str, Any]Paramètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
divider | bool | True | Afficher un trait ; False donne un simple espace. |
spacing | int | str | 1 | "small" / 1 ou "large" / 2. |
component_id | int | None | None |
Retour
Dict[str, Any]