discord-interactions.py

quick_row

Function

Row of buttons: quick_row(b1, b2) or 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]

Parameters

NameTypeDefaultDescription
*buttonsDict[str, Any] | Sequence[Dict[str, Any]]

Returns

Dict[str, Any]

Type a name: create_button, ModalBuilder, cooldown.