Skip to content

Commit

Permalink
fix(Constants): enum creation error (#9155)
Browse files Browse the repository at this point in the history
fix: enum creation error
  • Loading branch information
Jiralite committed Feb 21, 2023
1 parent 7f1735d commit 224f21c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ exports.ApplicationCommandPermissionTypes = createEnum([null, 'ROLE', 'USER']);
* @typedef {string} ApplicationRoleConnectionMetadataType
* @see{@link https://discord.com/developers/docs/resources/application-role-connection-metadata#application-role-connection-metadata-object-application-role-connection-metadata-type}
*/
exports.ApplicationRoleConnectionMetadataTypes = createEnum(
exports.ApplicationRoleConnectionMetadataTypes = createEnum([
null,
'INTEGER_LESS_THAN_OR_EQUAL',
'INTEGER_GREATER_THAN_OR_EQUAL',
Expand All @@ -1291,7 +1291,7 @@ exports.ApplicationRoleConnectionMetadataTypes = createEnum(
'DATATIME_GREATER_THAN_OR_EQUAL',
'BOOLEAN_EQUAL',
'BOOLEAN_NOT_EQUAL',
);
]);

/**
* The type of an {@link AutoModerationRuleTriggerTypes} object:
Expand Down

0 comments on commit 224f21c

Please sign in to comment.