mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
.applicationID and .ownerID return a Snowflake rather than a string (#1700)
This commit is contained in:
@@ -54,7 +54,7 @@ class GroupDMChannel extends Channel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The user ID of this Group DM's owner
|
* The user ID of this Group DM's owner
|
||||||
* @type {string}
|
* @type {Snowflake}
|
||||||
*/
|
*/
|
||||||
this.ownerID = data.owner_id;
|
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
|
* Application ID of the application that made this Group DM, if applicable
|
||||||
* @type {?string}
|
* @type {?Snowflake}
|
||||||
*/
|
*/
|
||||||
this.applicationID = data.application_id;
|
this.applicationID = data.application_id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user