discord-interactions.py

ActionRowBuilder

Classe

Builder de rangée d'actions.

from discord_interactions import ActionRowBuilder

Constructeur

ActionRowBuilder(*components: Any)
NomTypeDéfautDescription
*componentsAny

Méthodes

addComponents

def addComponents(*components: Any) -> ActionRowBuilder

Alias add

to_dict

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

id

def id(component_id: int)

build

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

Tape un nom : create_button, ModalBuilder, cooldown.