feature(UserFlags): add BOT_HTTP_INTERACTIONS (#6733)

This commit is contained in:
Tiemen
2021-11-01 18:50:42 +01:00
committed by GitHub
parent 47d74ebf81
commit f43140abac
2 changed files with 4 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ class UserFlags extends BitField {}
* * `VERIFIED_BOT`
* * `EARLY_VERIFIED_BOT_DEVELOPER`
* * `DISCORD_CERTIFIED_MODERATOR`
* * `BOT_HTTP_INTERACTIONS`
* @type {Object}
* @see {@link https://discord.com/developers/docs/resources/user#user-object-user-flags}
*/
@@ -52,6 +53,7 @@ UserFlags.FLAGS = {
VERIFIED_BOT: 1 << 16,
EARLY_VERIFIED_BOT_DEVELOPER: 1 << 17,
DISCORD_CERTIFIED_MODERATOR: 1 << 18,
BOT_HTTP_INTERACTIONS: 1 << 19,
};
module.exports = UserFlags;

3
typings/index.d.ts vendored
View File

@@ -5042,7 +5042,8 @@ export type UserFlagsString =
| 'BUGHUNTER_LEVEL_2'
| 'VERIFIED_BOT'
| 'EARLY_VERIFIED_BOT_DEVELOPER'
| 'DISCORD_CERTIFIED_MODERATOR';
| 'DISCORD_CERTIFIED_MODERATOR'
| 'BOT_HTTP_INTERACTIONS';
export type UserMention = `<@${Snowflake}>`;