summaryrefslogtreecommitdiff
path: root/node_modules/discord.js/src/util/AttachmentFlagsBitField.js
blob: f7f2bd23d0d6e0dae06001e56b87b9bca5bde926 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
'use strict';

const { AttachmentFlags } = require('discord-api-types/v10');
const BitField = require('./BitField');

/**
 * Data structure that makes it easy to interact with an {@link Attachment#flags} bitfield.
 * @extends {BitField}
 */
class AttachmentFlagsBitField extends BitField {
  /**
   * Numeric attachment flags.
   * @type {AttachmentFlags}
   * @memberof AttachmentFlagsBitField
   */
  static Flags = AttachmentFlags;
}

/**
 * @name AttachmentFlagsBitField
 * @kind constructor
 * @memberof AttachmentFlagsBitField
 * @param {BitFieldResolvable} [bits=0] Bit(s) to read from
 */

module.exports = AttachmentFlagsBitField;