Move to new docgen

This commit is contained in:
Schuyler Cebulskie
2016-11-22 18:24:29 -05:00
parent c8858de71e
commit 7c97244854
33 changed files with 200 additions and 953 deletions

12
docs/examples/webhook.js Normal file
View File

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