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")