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

@@ -11,13 +11,13 @@ class TextBasedChannel {
constructor() {
/**
* A collection containing the messages sent to this channel.
* @type {Collection<string, Message>}
* @type {Collection<Snowflake, Message>}
*/
this.messages = new Collection();
/**
* The ID of the last message in the channel, if one was sent.
* @type {?string}
* @type {?Snowflake}
*/
this.lastMessageID = null;
}