Skip to content

Commit 420f379

Browse files
authoredApr 20, 2023
feat: add ACTIVE_DEVELOPER user flag (#9428)
* feat: add `ACTIVE_DEVELOPER` user flag * add trailing comma + typings
1 parent 4f26ba7 commit 420f379

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎src/util/UserFlags.js

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class UserFlags extends BitField {}
3636
* * `EARLY_VERIFIED_BOT_DEVELOPER`
3737
* * `DISCORD_CERTIFIED_MODERATOR`
3838
* * `BOT_HTTP_INTERACTIONS`
39+
* * `ACTIVE_DEVELOPER`
3940
* @type {Object}
4041
* @see {@link https://discord.com/developers/docs/resources/user#user-object-user-flags}
4142
*/
@@ -54,6 +55,7 @@ UserFlags.FLAGS = {
5455
EARLY_VERIFIED_BOT_DEVELOPER: 1 << 17,
5556
DISCORD_CERTIFIED_MODERATOR: 1 << 18,
5657
BOT_HTTP_INTERACTIONS: 1 << 19,
58+
ACTIVE_DEVELOPER: 1 << 22,
5759
};
5860

5961
module.exports = UserFlags;

‎typings/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6440,7 +6440,8 @@ export type UserFlagsString =
64406440
| 'VERIFIED_BOT'
64416441
| 'EARLY_VERIFIED_BOT_DEVELOPER'
64426442
| 'DISCORD_CERTIFIED_MODERATOR'
6443-
| 'BOT_HTTP_INTERACTIONS';
6443+
| 'BOT_HTTP_INTERACTIONS'
6444+
| 'ACTIVE_DEVELOPER';
64446445

64456446
export type UserMention = `<@${Snowflake}>`;
64466447

0 commit comments

Comments
 (0)
Please sign in to comment.