fix(): enable guild-install

This commit is contained in:
Aleksander Wilczyński 2025-03-26 20:21:36 +01:00
parent 74609d5ad5
commit fa6e06ce62
Signed by: alekswilc
GPG Key ID: D4464A248E5F27FE

View File

@ -46,7 +46,7 @@ client.on(Events.InteractionCreate, async (interaction: Interaction) => {
.setName('GIF') .setName('GIF')
.setType(ApplicationCommandType.Message) .setType(ApplicationCommandType.Message)
.setContexts([ InteractionContextType.Guild, InteractionContextType.BotDM, InteractionContextType.PrivateChannel ]) .setContexts([ InteractionContextType.Guild, InteractionContextType.BotDM, InteractionContextType.PrivateChannel ])
.setIntegrationTypes([ ApplicationIntegrationType.UserInstall ]) .setIntegrationTypes([ ApplicationIntegrationType.UserInstall, ApplicationIntegrationType.GuildInstall ])
] }, ] },
); );