discord-interactions.py

CommandOnCooldown

Exception

Commande en cooldown ; retry_after donne l'attente en secondes.

from discord_interactions import CommandOnCooldown

Hérite de SlashCommandError

Constructeur

CommandOnCooldown(cooldown_type: str, retry_after: float, command_name: str)
NomTypeDéfautDescription
cooldown_typestrrequis
retry_afterfloatrequis
command_namestrrequis

Tape un nom : create_button, ModalBuilder, cooldown.