We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 799fa54 commit 3c74aa2Copy full SHA for 3c74aa2
packages/discord.js/src/structures/ApplicationCommand.js
@@ -418,7 +418,7 @@ class ApplicationCommand extends Base {
418
command.descriptionLocalizations ?? command.description_localizations ?? {},
419
this.descriptionLocalizations ?? {},
420
) ||
421
- !isEqual(command.integrationTypes ?? command.integration_types ?? [], this.integrationTypes ?? {}) ||
+ !isEqual(command.integrationTypes ?? command.integration_types ?? [], this.integrationTypes ?? []) ||
422
!isEqual(command.contexts ?? [], this.contexts ?? [])
423
) {
424
return false;
0 commit comments