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

@@ -25,7 +25,7 @@ class Role {
setup(data) {
/**
* The ID of the role (unique to the guild it is part of)
* @type {string}
* @type {Snowflake}
*/
this.id = data.id;
@@ -103,7 +103,7 @@ class Role {
/**
* The cached guild members that have this role.
* @type {Collection<string, GuildMember>}
* @type {Collection<Snowflake, GuildMember>}
* @readonly
*/
get members() {