Add snowflake utils (#1064)

* snowflakes

* use proper binary for snowflake example

* fix jsdoc errors

* remove dupe
This commit is contained in:
Gus Caplan
2017-01-05 09:41:42 -06:00
committed by Amish Shah
parent d47f9d202b
commit 495264761c
25 changed files with 117 additions and 54 deletions

View File

@@ -43,19 +43,19 @@ class Webhook {
/**
* The ID of the webhook
* @type {string}
* @type {Snowflake}
*/
this.id = data.id;
/**
* The guild the webhook belongs to
* @type {string}
* @type {Snowflake}
*/
this.guildID = data.guild_id;
/**
* The channel the webhook belongs to
* @type {string}
* @type {Snowflake}
*/
this.channelID = data.channel_id;