create_separator
Function
Separator (type 14): divider line and vertical spacing.
from discord_interactions import create_separatorSignature
def create_separator( divider: bool = True, spacing: int | str = 1, component_id: int | None = None,) -> Dict[str, Any]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
divider | bool | True | Draw a line; False leaves plain space. |
spacing | int | str | 1 | "small" / 1 or "large" / 2. |
component_id | int | None | None |
Returns
Dict[str, Any]