Skip to content

Commit

Permalink
feature(UserFlags): add BOT_HTTP_INTERACTIONS (#6733)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaTiemsz committed Nov 1, 2021
1 parent 47d74eb commit f43140a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/util/UserFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
*/
Expand All @@ -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 changes: 2 additions & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}>`;

Expand Down

0 comments on commit f43140a

Please sign in to comment.