Create a new Bitfield with the specified bits.
The bits to set initially.
A new Bitfield.
A constant of the specified bits that can be set in the bitfield. See the children of this class for more details.
Add a bit to the bitfield using the numerical OR operator.
Verify whether the bitfield contains the specified bit.
Remove a bit from the bitfield using the numerical AND operator.
Filter through the bitfield's set Bitfield.Bits and return an array of the names of the bits that are set.
Filters through the bitfield's set Bitfield.Bits and returns an array of the bits that are set.
Returns a string representation of the bitfield.
Generated using TypeDoc
Utility class to hold bitfields sent by the Discord API.
class
https://en.wikipedia.org/wiki/Bit_field