Skip to content
Snippets Groups Projects
Commit ec6aa4d1 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

webhook.id, token: webhook.token

parent 1316d8d8
No related branches found
No related tags found
No related merge requests found
......@@ -626,7 +626,7 @@ async function createMcChatWebhook() {
name: "mcChatWebhookToken",
value: webhook.token
});
mcChatWebhook = new WebhookClient({ id: mcChatWebhookId.value, token: mcChatWebhookToken.value });
mcChatWebhook = new WebhookClient({ id: webhook.id, token: webhook.token });
console.log("[" + 'INFO'.yellow + "] Le Webhook du serveur MC a été configuré avec succès.");
})
.catch(console.error);
......@@ -644,7 +644,7 @@ async function createMcChatWebhook() {
name: "devMcChatWebhookToken",
value: webhook.token
});
devMcChatWebhook = new WebhookClient({ id: devMcChatWebhookId.value, token: devMcChatWebhookToken.value });
devMcChatWebhook = new WebhookClient({ id: webhook.id, token: webhook.token });
console.log("[" + 'INFO'.yellow + "] Le Webhook du serveur MC Dev a été configuré avec succès.");
})
.catch(console.error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment