From 96009bad69325ee0468b8d6abd62d7df670a7c7b Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Fri, 20 Sep 2024 20:15:44 +0500 Subject: [PATCH] remove Music category from User Installs --- commands/Music/back.js | 4 ++-- commands/Music/clips.js | 4 ++-- commands/Music/loop.js | 4 ++-- commands/Music/nowplaying.js | 4 ++-- commands/Music/play.c.js | 4 ++-- commands/Music/play.js | 4 ++-- commands/Music/queue.js | 4 ++-- commands/Music/seek.js | 4 ++-- commands/Music/shuffle.js | 4 ++-- commands/Music/skip.js | 4 ++-- commands/Music/stop.js | 4 ++-- commands/Music/volume.js | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/commands/Music/back.js b/commands/Music/back.js index 6c39fcda..c032338d 100644 --- a/commands/Music/back.js +++ b/commands/Music/back.js @@ -15,8 +15,8 @@ class Back extends BaseCommand { uk: client.translate("music/back:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/back:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]), dirname: __dirname, ownerOnly: false, }); diff --git a/commands/Music/clips.js b/commands/Music/clips.js index a217a2bc..ee7fa99a 100644 --- a/commands/Music/clips.js +++ b/commands/Music/clips.js @@ -17,8 +17,8 @@ class Clips extends BaseCommand { uk: client.translate("music/clips:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/clips:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]) .addStringOption(option => option .setName("query") diff --git a/commands/Music/loop.js b/commands/Music/loop.js index 91fb32e3..a1c65b55 100644 --- a/commands/Music/loop.js +++ b/commands/Music/loop.js @@ -16,8 +16,8 @@ class Loop extends BaseCommand { uk: client.translate("music/loop:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/loop:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]) .addStringOption(option => option .setName("option") diff --git a/commands/Music/nowplaying.js b/commands/Music/nowplaying.js index 921b5ccc..d4667b1a 100644 --- a/commands/Music/nowplaying.js +++ b/commands/Music/nowplaying.js @@ -16,8 +16,8 @@ class Nowplaying extends BaseCommand { uk: client.translate("music/nowplaying:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/nowplaying:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]), dirname: __dirname, ownerOnly: false, }); diff --git a/commands/Music/play.c.js b/commands/Music/play.c.js index 6b2671fe..2949cc26 100644 --- a/commands/Music/play.c.js +++ b/commands/Music/play.c.js @@ -11,8 +11,8 @@ class PlayContext extends BaseCommand { command: new ContextMenuCommandBuilder() .setName("Add to Queue") .setType(ApplicationCommandType.Message) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]), dirname: __dirname, ownerOnly: false, }); diff --git a/commands/Music/play.js b/commands/Music/play.js index 55c08d5f..7ddb2a64 100644 --- a/commands/Music/play.js +++ b/commands/Music/play.js @@ -16,8 +16,8 @@ class Play extends BaseCommand { uk: client.translate("music/play:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/play:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]) .addStringOption(option => option .setName("query") diff --git a/commands/Music/queue.js b/commands/Music/queue.js index 8e1d051d..538e54f0 100644 --- a/commands/Music/queue.js +++ b/commands/Music/queue.js @@ -15,8 +15,8 @@ class Queue extends BaseCommand { uk: client.translate("music/queue:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/queue:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]), dirname: __dirname, ownerOnly: false, }); diff --git a/commands/Music/seek.js b/commands/Music/seek.js index 49d1ae58..41074985 100644 --- a/commands/Music/seek.js +++ b/commands/Music/seek.js @@ -15,8 +15,8 @@ class Seek extends BaseCommand { uk: client.translate("music/seek:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/seek:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]) .addIntegerOption(option => option .setName("time") diff --git a/commands/Music/shuffle.js b/commands/Music/shuffle.js index e2b2e9c4..daaa45b3 100644 --- a/commands/Music/shuffle.js +++ b/commands/Music/shuffle.js @@ -15,8 +15,8 @@ class Shuffle extends BaseCommand { uk: client.translate("music/shuffle:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/shuffle:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]), dirname: __dirname, ownerOnly: false, }); diff --git a/commands/Music/skip.js b/commands/Music/skip.js index bb0443f0..d9268c15 100644 --- a/commands/Music/skip.js +++ b/commands/Music/skip.js @@ -15,8 +15,8 @@ class Skip extends BaseCommand { uk: client.translate("music/skip:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/skip:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]) .addIntegerOption(option => option .setName("position") diff --git a/commands/Music/stop.js b/commands/Music/stop.js index 37103f25..60f6c2ac 100644 --- a/commands/Music/stop.js +++ b/commands/Music/stop.js @@ -15,8 +15,8 @@ class Stop extends BaseCommand { uk: client.translate("music/stop:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/stop:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]), dirname: __dirname, ownerOnly: false, }); diff --git a/commands/Music/volume.js b/commands/Music/volume.js index 1d779aaa..a47d1435 100644 --- a/commands/Music/volume.js +++ b/commands/Music/volume.js @@ -15,8 +15,8 @@ class Volume extends BaseCommand { uk: client.translate("music/volume:DESCRIPTION", null, "uk-UA"), ru: client.translate("music/volume:DESCRIPTION", null, "ru-RU"), }) - .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) - .setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) + .setIntegrationTypes([ApplicationIntegrationType.GuildInstall]) + .setContexts([InteractionContextType.Guild]) .addIntegerOption(option => option .setName("int")