Skip to content

Commit

Permalink
feat(Constants): add APPLICATION_AUTO_MODERATION_RULE_CREATE_BADGE
Browse files Browse the repository at this point in the history
…application flag (#59)
  • Loading branch information
TTtie committed Apr 14, 2023
1 parent 9418d16 commit 92d650c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
27 changes: 14 additions & 13 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1871,22 +1871,23 @@ declare namespace Dysnomia {
};
ApplicationFlags: {
/** @deprecated */
EMBEDDED_RELEASED: 2;
EMBEDDED_RELEASED: 2;
/** @deprecated */
MANAGED_EMOJI: 4;
MANAGED_EMOJI: 4;
/** @deprecated */
GROUP_DM_CREATE: 16;
GATEWAY_PRESENCE: 4096;
GATEWAY_PRESENCE_LIMITED: 8192;
GATEWAY_GUILD_MEMBERS: 16384;
GATEWAY_GUILD_MEMBERS_LIMITED: 32768;
VERIFICATION_PENDING_GUILD_LIMIT: 65536;
EMBEDDED: 131072;
GATEWAY_MESSAGE_CONTENT: 262144;
GATEWAY_MESSAGE_CONTENT_LIMITED: 524288;
GROUP_DM_CREATE: 16;
APPLICATION_AUTO_MODERATION_RULE_CREATE_BADGE: 64;
GATEWAY_PRESENCE: 4096;
GATEWAY_PRESENCE_LIMITED: 8192;
GATEWAY_GUILD_MEMBERS: 16384;
GATEWAY_GUILD_MEMBERS_LIMITED: 32768;
VERIFICATION_PENDING_GUILD_LIMIT: 65536;
EMBEDDED: 131072;
GATEWAY_MESSAGE_CONTENT: 262144;
GATEWAY_MESSAGE_CONTENT_LIMITED: 524288;
/** @deprecated */
EMBEDDED_FIRST_PARTY: 1048576;
APPLICATION_COMMAND_BADGE: 8388608;
EMBEDDED_FIRST_PARTY: 1048576;
APPLICATION_COMMAND_BADGE: 8388608;
};
AuditLogActions: {
GUILD_UPDATE: 1;
Expand Down
27 changes: 14 additions & 13 deletions lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,20 @@ module.exports.ApplicationCommandTypes = {
};

module.exports.ApplicationFlags = {
EMBEDDED_RELEASED: 1 << 1, // [DEPRECATED]
MANAGED_EMOJI: 1 << 2, // [DEPRECATED]
GROUP_DM_CREATE: 1 << 4, // [DEPRECATED]
GATEWAY_PRESENCE: 1 << 12,
GATEWAY_PRESENCE_LIMITED: 1 << 13,
GATEWAY_GUILD_MEMBERS: 1 << 14,
GATEWAY_GUILD_MEMBERS_LIMITED: 1 << 15,
VERIFICATION_PENDING_GUILD_LIMIT: 1 << 16,
EMBEDDED: 1 << 17,
GATEWAY_MESSAGE_CONTENT: 1 << 18,
GATEWAY_MESSAGE_CONTENT_LIMITED: 1 << 19,
EMBEDDED_FIRST_PARTY: 1 << 20, // [DEPRECATED]
APPLICATION_COMMAND_BADGE: 1 << 23
EMBEDDED_RELEASED: 1 << 1, // [DEPRECATED]
MANAGED_EMOJI: 1 << 2, // [DEPRECATED]
GROUP_DM_CREATE: 1 << 4, // [DEPRECATED]
APPLICATION_AUTO_MODERATION_RULE_CREATE_BADGE: 1 << 6,
GATEWAY_PRESENCE: 1 << 12,
GATEWAY_PRESENCE_LIMITED: 1 << 13,
GATEWAY_GUILD_MEMBERS: 1 << 14,
GATEWAY_GUILD_MEMBERS_LIMITED: 1 << 15,
VERIFICATION_PENDING_GUILD_LIMIT: 1 << 16,
EMBEDDED: 1 << 17,
GATEWAY_MESSAGE_CONTENT: 1 << 18,
GATEWAY_MESSAGE_CONTENT_LIMITED: 1 << 19,
EMBEDDED_FIRST_PARTY: 1 << 20, // [DEPRECATED]
APPLICATION_COMMAND_BADGE: 1 << 23
};

module.exports.AuditLogActions = {
Expand Down

0 comments on commit 92d650c

Please sign in to comment.