discord-interactions.py

ActionRowBuilder

Class

Action row builder.

from discord_interactions import ActionRowBuilder

Constructor

ActionRowBuilder(*components: Any)
NameTypeDefaultDescription
*componentsAny

Methods

addComponents

def addComponents(*components: Any) -> ActionRowBuilder

Aliases add

to_dict

def to_dict() -> Dict[str, Any]

id

def id(component_id: int)

build

def build() -> Dict[str, Any]

Type a name: create_button, ModalBuilder, cooldown.