mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-20 19:34:43 +12:00
feat: add ACTIVE_DEVELOPER
user flag (#9428)
* feat: add `ACTIVE_DEVELOPER` user flag * add trailing comma + typings
This commit is contained in:
parent
4f26ba7c2a
commit
420f379933
2 changed files with 4 additions and 1 deletions
|
@ -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}>`;
|
||||
|
||||
|
|
Loading…
Reference in a new issue