mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat: add ACTIVE_DEVELOPER user flag (#9428)
* feat: add `ACTIVE_DEVELOPER` user flag * add trailing comma + typings
This commit is contained in:
@@ -36,6 +36,7 @@ class UserFlags extends BitField {}
|
||||
* * `EARLY_VERIFIED_BOT_DEVELOPER`
|
||||
* * `DISCORD_CERTIFIED_MODERATOR`
|
||||
* * `BOT_HTTP_INTERACTIONS`
|
||||
* * `ACTIVE_DEVELOPER`
|
||||
* @type {Object}
|
||||
* @see {@link https://discord.com/developers/docs/resources/user#user-object-user-flags}
|
||||
*/
|
||||
@@ -54,6 +55,7 @@ UserFlags.FLAGS = {
|
||||
EARLY_VERIFIED_BOT_DEVELOPER: 1 << 17,
|
||||
DISCORD_CERTIFIED_MODERATOR: 1 << 18,
|
||||
BOT_HTTP_INTERACTIONS: 1 << 19,
|
||||
ACTIVE_DEVELOPER: 1 << 22,
|
||||
};
|
||||
|
||||
module.exports = UserFlags;
|
||||
|
||||
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@@ -6440,7 +6440,8 @@ export type UserFlagsString =
|
||||
| 'VERIFIED_BOT'
|
||||
| 'EARLY_VERIFIED_BOT_DEVELOPER'
|
||||
| 'DISCORD_CERTIFIED_MODERATOR'
|
||||
| 'BOT_HTTP_INTERACTIONS';
|
||||
| 'BOT_HTTP_INTERACTIONS'
|
||||
| 'ACTIVE_DEVELOPER';
|
||||
|
||||
export type UserMention = `<@${Snowflake}>`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user