.applicationID and .ownerID return a Snowflake rather than a string (#1700)

This commit is contained in:
Raphael
2017-07-21 02:11:37 +02:00
committed by Crawl
parent 8cf95dc9b3
commit 7a27b12b2b

View File

@@ -54,7 +54,7 @@ class GroupDMChannel extends Channel {
/**
* The user ID of this Group DM's owner
* @type {string}
* @type {Snowflake}
*/
this.ownerID = data.owner_id;
@@ -66,7 +66,7 @@ class GroupDMChannel extends Channel {
/**
* Application ID of the application that made this Group DM, if applicable
* @type {?string}
* @type {?Snowflake}
*/
this.applicationID = data.application_id;