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

@@ -26,7 +26,7 @@ class Emoji {
setup(data) {
/**
* The ID of the emoji
* @type {string}
* @type {Snowflake}
*/
this.id = data.id;
@@ -71,7 +71,7 @@ class Emoji {
/**
* A collection of roles this emoji is active for (empty if all), mapped by role ID.
* @type {Collection<string, Role>}
* @type {Collection<Snowflake, Role>}
* @readonly
*/
get roles() {