File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -2425,7 +2425,6 @@ declare namespace Eris {
24252425 discriminator : string ;
24262426 id : string ;
24272427 mention : string ;
2428- premiumType ?: 0 | 1 | 2 ;
24292428 publicFlags ?: number ;
24302429 staticAvatarURL : string ;
24312430 system : boolean ;
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ const Endpoints = require("../rest/Endpoints");
1414* @prop {String } discriminator The discriminator of the user
1515* @prop {String } id The ID of the user
1616* @prop {String } mention A string that mentions the user
17- * @prop {Number? } premiumType The type of nitro the user has
1817* @prop {Number? } publicFlags Publicly visible flags for this user
1918* @prop {String } staticAvatarURL The URL of the user's avatar (always a JPG)
2019* @prop {Boolean } system Whether the user is an official Discord system user (e.g. urgent messages)
@@ -42,9 +41,6 @@ class User extends Base {
4241 if ( data . discriminator !== undefined ) {
4342 this . discriminator = data . discriminator ;
4443 }
45- if ( data . premium_type !== undefined ) {
46- this . premiumType = data . premium_type ;
47- }
4844 if ( data . public_flags !== undefined ) {
4945 this . publicFlags = data . public_flags ;
5046 }
@@ -139,7 +135,6 @@ class User extends Base {
139135 "avatar" ,
140136 "bot" ,
141137 "discriminator" ,
142- "premiumType" ,
143138 "publicFlags" ,
144139 "system" ,
145140 "username" ,
You can’t perform that action at this time.
0 commit comments