Update Bot
This commit is contained in:
32
node_modules/discord.js/src/util/UserFlagsBitField.js
generated
vendored
Normal file
32
node_modules/discord.js/src/util/UserFlagsBitField.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
'use strict';
|
||||
|
||||
const { UserFlags } = require('discord-api-types/v10');
|
||||
const BitField = require('./BitField');
|
||||
|
||||
/**
|
||||
* Data structure that makes it easy to interact with a {@link User#flags} bitfield.
|
||||
* @extends {BitField}
|
||||
*/
|
||||
class UserFlagsBitField extends BitField {
|
||||
/**
|
||||
* Numeric user flags.
|
||||
* @type {UserFlags}
|
||||
* @memberof UserFlagsBitField
|
||||
*/
|
||||
static Flags = UserFlags;
|
||||
}
|
||||
|
||||
/**
|
||||
* @name UserFlagsBitField
|
||||
* @kind constructor
|
||||
* @memberof UserFlagsBitField
|
||||
* @param {BitFieldResolvable} [bits=0] Bit(s) to read from
|
||||
*/
|
||||
|
||||
/**
|
||||
* Bitfield of the packed bits
|
||||
* @type {number}
|
||||
* @name UserFlagsBitField#bitfield
|
||||
*/
|
||||
|
||||
module.exports = UserFlagsBitField;
|
||||
Reference in New Issue
Block a user