diff --git a/docs/examples/webhook.js b/docs/examples/webhook.js index 451ac58b33fd..ab91152ea02a 100644 --- a/docs/examples/webhook.js +++ b/docs/examples/webhook.js @@ -6,8 +6,13 @@ // Import the discord.js module const Discord = require('discord.js'); - -// Create a new webhook +/* + * Create a new webhook + * The Webbooks ID and token can be found in the URL, when you request that URL, or in the response body. + * https://discordapp.com/api/webhooks/12345678910/T0kEn0fw3Bh00K + * ^^^^^^^^^^ ^^^^^^^^^^^^ + * Webhook ID Webhook Token + */ const hook = new Discord.WebhookClient('webhook id', 'webhook token'); // Send a message using the webhook