revbot.js
    Preparing search index...

    Class Badges

    Represents a bitfield that can be used to manage flags or permissions.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    bitfield: number = DEFAULT_BIT
    FLAGS: {
        DEVELOPER: number;
        EARLY_ADOPTER: number;
        RESPONSIBLE_DISCLOSURE: number;
        REVOLT_TEAM: number;
        SUPPORTER: number;
        TRANSLATOR: number;
    } = ...

    Accessors

    • get self(): {
          FLAGS: Record<string, number>;
          resolve(bit: BitFieldResolvable): number;
          new (bits?: BitFieldResolvable): BitField;
      }

      Returns the class that this instance belongs to.

      Returns {
          FLAGS: Record<string, number>;
          resolve(bit: BitFieldResolvable): number;
          new (bits?: BitFieldResolvable): BitField;
      }

      The class of the bitfield.

    Methods

    • Returns Record<
          | "DEVELOPER"
          | "TRANSLATOR"
          | "SUPPORTER"
          | "RESPONSIBLE_DISCLOSURE"
          | "REVOLT_TEAM"
          | "EARLY_ADOPTER",
          boolean,
      >

      A record of all flags and their boolean values indicating whether they are set.