discord.js-selfbot-v13/src/util/PurchasedFlags.js

32 lines
639 B
JavaScript
Raw Normal View History

2022-07-07 17:23:41 +00:00
'use strict';
const BitField = require('./BitField');
/**
* Data structure that makes it easy to interact with an {@link PurchasedFlags#flags} bitfield.
* @extends {BitField}
*/
class PurchasedFlags extends BitField {}
/**
* @name PurchasedFlags
* @kind constructor
* @memberof PurchasedFlags
* @param {BitFieldResolvable} [bits=0] Bit(s) to read from
*/
/**
* Numeric the Discord purchased flags. All available properties:
* * `NITRO_CLASSIC`
* * `NITRO`
* * `GUILD_BOOST`
* @type {Object}
*/
PurchasedFlags.FLAGS = {
NITRO_CLASSIC: 1 << 0,
NITRO: 1 << 1,
GUILD_BOOST: 1 << 2,
};
module.exports = PurchasedFlags;