Bit(s) to read from
Bitfield of the packed bits
Static
DefaultDefault bit value
Static
FlagsNumeric attachment flags.
Checks whether the bitfield has a bit, or any of multiple bits.
Bit(s) to check for
Checks if this bitfield equals another
Bit(s) to check for
Freezes these bits, making them immutable.
Checks whether the bitfield has a bit, or multiple bits.
Bit(s) to check for
Gets all given bits that are missing from the bitfield.
Bit(s) to check for
Additional parameters for the has method, if any
Gets an object mapping field names to a boolean indicating whether the bit is available.
Additional parameters for the has method, if any
Gets an Array of bitfield names based on the bits available.
Static
resolveData that can be resolved to give a bitfield. This can be:
Data structure that makes it easy to interact with a Discord attachment flags bitfield.