🌐 global_SendWebhook(WebhookURL, content)
Envoie un message à un webhook Discord. Utile pour les notifications.
global_SendWebhook(WebhookURL, content)
GlobalEnvoie un message à un webhook Discord. Utile pour les notifications.
Paramètres
| Paramètre | Type | Description |
|---|---|---|
WebhookURL |
string | L'URL du webhook Discord |
content |
string | Le contenu du message |
Valeur de retour
Aucun
Exemple
function example_globalsendwebhook()
-- Envoyer un webhook
global_SendWebhook("https://discord.com/api/webhooks/...", "Le script a terminé !")
end
-- Appeler la fonction
example_globalsendwebhook()