mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 04:31:05 +00:00
.applicationID and .ownerID return a Snowflake rather than a string (#1700)
This commit is contained in:
parent
8cf95dc9b3
commit
7a27b12b2b
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue