diff --git a/index.js b/index.js index 7a4afee..a91fe22 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,9 @@ const { Client, ApplicationCommandOptionTypes, ApplicationCommandTypes, - InteractionTypes + InteractionTypes, + ApplicationIntegrationTypes, + InteractionContextTypes } = require("oceanic.js"); const client = new Client({ @@ -14,6 +16,15 @@ client.on("ready", () => { client.application.bulkEditGlobalCommands([ { name: "say", + integrationTypes: [ + ApplicationIntegrationTypes.GUILD_INSTALL, + ApplicationIntegrationTypes.USER_INSTALL + ], + contexts: [ + InteractionContextTypes.BOT_DM, + InteractionContextTypes.GUILD, + InteractionContextTypes.PRIVATE_CHANNEL + ], description: "Says whatever you provide", options: [ {