feat: update flags
This commit is contained in:
@@ -17,14 +17,15 @@ class PremiumUsageFlags extends BitField {}
|
||||
|
||||
/**
|
||||
* Numeric the Discord premium usage flags. All available properties:
|
||||
* * `PREMIUM_DISCRIMINATOR`
|
||||
* * `ANIMATED_AVATAR`
|
||||
* * `BANNER`
|
||||
* * `CUSTOM_DISCRIMINATOR`
|
||||
* * `PROFILE_BANNER`
|
||||
* @type {Object}
|
||||
*/
|
||||
PremiumUsageFlags.FLAGS = {
|
||||
PREMIUM_DISCRIMINATOR: 1 << 0,
|
||||
ANIMATED_AVATAR: 1 << 1,
|
||||
BANNER: 1 << 2,
|
||||
PROFILE_BANNER: 1 << 2,
|
||||
};
|
||||
|
||||
module.exports = PremiumUsageFlags;
|
||||
|
@@ -97,8 +97,8 @@ UserFlags.FLAGS = {
|
||||
DISABLED: Math.pow(2, 41), // [Undocumented] User is currently temporarily or permanently disabled.
|
||||
VERIFIED_EMAIL: Math.pow(2, 43), // [Undocumented] User has a verified email on their account.
|
||||
QUARANTINED: Math.pow(2, 44), // [Undocumented] User is quarantined.
|
||||
COLLABORATOR: Math.pow(2, 50), // [Undocumented] User is a collaborator and has staff permissions.
|
||||
RESTRICTED_COLLABORATOR: Math.pow(2, 51), // [Undocumented] User is a restricted collaborator and has staff permissions.
|
||||
COLLABORATOR: 1 << 50, // [Undocumented] User is a collaborator and has staff permissions.
|
||||
RESTRICTED_COLLABORATOR: 1 << 51, // [Undocumented] User is a restricted collaborator and has staff permissions.
|
||||
};
|
||||
|
||||
module.exports = UserFlags;
|
||||
|
Reference in New Issue
Block a user