Repository: discordjs/discord.js
File: packages/discord.js/src/structures/ApplicationCommand.js (JavaScript)

Code before:
      /**
       * Installation context(s) where the command is available
       * <info>Only for globally-scoped commands</info>
       * @type {?ApplicationIntegrationType[]}
       */
      this.integrationTypes = data.integration_types;
    } else {
      this.integrationTypes ??= null;
    }

    if ('contexts' in data) {
      /**
       * Interaction context(s) where the command can be used
       * <info>Only for globally-scoped commands</info>
       * @type {?InteractionContextType[]}
       */
      this.contexts = data.contexts;
    } else {
      this.contexts ??= null;
    }

    if ('handler' in data) {
      /**
       * Determines whether the interaction is handled by the app's interactions handler or by Discord.
       * <info>Only available for {@link ApplicationCommandType.PrimaryEntryPoint} command
       * and for apps with {@link ApplicationFlags.Embedded} flag (i.e, applications that have an Activity)
       * </info>
       * @type {?EntryPointCommandHandlerType}
       */
      this.handler = data.handler;
    } else {
      this.handler ??= null;
    }

    if ('version' in data) {
      /**
       * Autoincrementing version identifier updated during substantial record changes
       * @type {Snowflake}
       */
      this.version = data.version;
    }
  }

  /**
   * The timestamp the command was created at
   * @type {number}
   * @readonly
   */
  get createdTimestamp() {
    return DiscordSnowflake.timestampFrom(this.id);
  }

Review comment (suggestion):
```suggestion
       * <info>Only available for {@link ApplicationCommandType.PrimaryEntryPoint} commands on
       * applications with the {@link ApplicationFlags.Embedded} flag (i.e, those that have an Activity)</info>
```

Code after:
      /**
       * Installation context(s) where the command is available
       * <info>Only for globally-scoped commands</info>
       * @type {?ApplicationIntegrationType[]}
       */
      this.integrationTypes = data.integration_types;
    } else {
      this.integrationTypes ??= null;
    }

    if ('contexts' in data) {
      /**
       * Interaction context(s) where the command can be used
       * <info>Only for globally-scoped commands</info>
       * @type {?InteractionContextType[]}
       */
      this.contexts = data.contexts;
    } else {
      this.contexts ??= null;
    }

    if ('handler' in data) {
      /**
       * Determines whether the interaction is handled by the app's interactions handler or by Discord.
       * <info>Only available for {@link ApplicationCommandType.PrimaryEntryPoint} commands on
       * applications with the {@link ApplicationFlags.Embedded} flag (i.e, those that have an Activity)</info>
       * @type {?EntryPointCommandHandlerType}
       */
      this.handler = data.handler;
    } else {
      this.handler ??= null;
    }

    if ('version' in data) {
      /**
       * Autoincrementing version identifier updated during substantial record changes
       * @type {Snowflake}
       */
      this.version = data.version;
    }
  }

  /**
   * The timestamp the command was created at
   * @type {number}
   * @readonly
   */
  get createdTimestamp() {
    return DiscordSnowflake.timestampFrom(this.id);
  }