File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/discord.js/src/structures Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -422,9 +422,13 @@ class ApplicationCommand extends Base {
422
422
! isEqual (
423
423
command . integrationTypes ??
424
424
command . integration_types ??
425
- this . client . application . integrationTypesConfig ?. keys ( ) ?? [ ApplicationIntegrationType . GuildInstall ] ,
425
+ ( this . client . application . integrationTypesConfig
426
+ ? Object . keys ( this . client . application . integrationTypesConfig )
427
+ : [ ApplicationIntegrationType . GuildInstall ] ) ,
426
428
this . integrationTypes ??
427
- this . client . application . integrationTypesConfig ?. keys ( ) ?? [ ApplicationIntegrationType . GuildInstall ] ,
429
+ ( this . client . application . integrationTypesConfig
430
+ ? Object . keys ( this . client . application . integrationTypesConfig )
431
+ : [ ApplicationIntegrationType . GuildInstall ] ) ,
428
432
) ||
429
433
! isEqual ( command . contexts ?? [ ] , this . contexts ?? [ ] )
430
434
) {
You can’t perform that action at this time.
0 commit comments