Just import your own SlashCommandBuilder
instead of the one from discord.js. Then you can do this:
const meta = new SlashCommandBuilder()
.setName('sandwich')
.setDescription('Makes a sandwich')
.setIntegrationTypes(AppIntegrationType.GuildInstall, AppIntegrationType.UserInstall);
As per Discord spec, commands will only have the GuildInstall
integration type, if none specified.