check
Fonction
Ajoute une vérification async personnalisée (interaction) -> bool.
from discord_interactions import checkSignature
def check(check_func: Callable[[discord.Interaction], Awaitable[bool]]) -> CallableParamètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
check_func | Callable[[discord.Interaction], Awaitable[bool]] | requis |
Retour
Callable