CommandOnCooldown
Exception
Command on cooldown; retry_after gives the wait in seconds.
from discord_interactions import CommandOnCooldownExtends SlashCommandError
Constructor
CommandOnCooldown(cooldown_type: str, retry_after: float, command_name: str)| Name | Type | Default | Description |
|---|---|---|---|
cooldown_type | str | required | |
retry_after | float | required | |
command_name | str | required |