discord-interactions.py

allowed_channels

Fonction

Limite la commande à certains salons.

from discord_interactions.slash import allowed_channels

Signature

def allowed_channels(*channel_ids: int) -> Callable

Paramètres

NomTypeDéfautDescription
*channel_idsint

Retour

Callable

Tape un nom : create_button, ModalBuilder, cooldown.