UNPKG

slash-create

Version:

Create and sync Discord slash commands!

31 lines (30 loc) 907 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserFlags = void 0; const bitfield_1 = require("../util/bitfield"); const FLAGS = { DISCORD_EMPLOYEE: 1, PARTNERED_SERVER_OWNER: 1 << 1, HYPESQUAD_EVENTS: 1 << 2, BUG_HUNTER_LEVEL_1: 1 << 3, // 1 << 4 // 1 << 5 HOUSE_BRAVERY: 1 << 6, HOUSE_BRILLIANCE: 1 << 7, HOUSE_BALANCE: 1 << 8, EARLY_SUPPORTER: 1 << 9, TEAM_USER: 1 << 10, // 1 << 11, SYSTEM: 1 << 12, // 1 << 13, BUG_HUNTER_LEVEL_2: 1 << 14, // 1 << 15, VERIFIED_BOT: 1 << 16, EARLY_VERIFIED_BOT_DEVELOPER: 1 << 17 }; /** Data structure that makes it easy to interact with a {@link User#flags} bitfield. */ class UserFlags extends bitfield_1.BitField { } exports.UserFlags = UserFlags; /** The flags for users. Check the source of this property for available flags. */ UserFlags.FLAGS = FLAGS;