Update examples

This commit is contained in:
Crawl
2017-04-24 08:34:00 +02:00
parent b15e012788
commit bbb5d4c7a1
4 changed files with 36 additions and 35 deletions

View File

@@ -2,11 +2,11 @@
Send a message using a webhook
*/
// import the discord.js module
// Import the discord.js module
const Discord = require('discord.js');
// create a new webhook
// Create a new webhook
const hook = new Discord.WebhookClient('webhook id', 'webhook token');
// send a message using the webhook
// Send a message using the webhook
hook.send('I am now alive!');