discord-interactions.py

get_base_custom_id

Fonction

Partie avant le premier : d'un custom_id.

from discord_interactions import get_base_custom_id

Signature

def get_base_custom_id(custom_id: str) -> str

Paramètres

NomTypeDéfautDescription
custom_idstrrequis

Retour

str

Tape un nom : create_button, ModalBuilder, cooldown.