remove Music category from User Installs

This commit is contained in:
Jonny_Bro (Nikita) 2024-09-20 20:15:44 +05:00
parent 77ec27dc1d
commit 96009bad69
Signed by: jonny_bro
GPG key ID: 3F1ECC04147E9BD8
12 changed files with 24 additions and 24 deletions

View file

@ -15,8 +15,8 @@ class Back extends BaseCommand {
uk: client.translate("music/back:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/back:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/back:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/back:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), .setContexts([InteractionContextType.Guild]),
dirname: __dirname, dirname: __dirname,
ownerOnly: false, ownerOnly: false,
}); });

View file

@ -17,8 +17,8 @@ class Clips extends BaseCommand {
uk: client.translate("music/clips:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/clips:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/clips:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/clips:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) .setContexts([InteractionContextType.Guild])
.addStringOption(option => .addStringOption(option =>
option option
.setName("query") .setName("query")

View file

@ -16,8 +16,8 @@ class Loop extends BaseCommand {
uk: client.translate("music/loop:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/loop:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/loop:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/loop:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) .setContexts([InteractionContextType.Guild])
.addStringOption(option => .addStringOption(option =>
option option
.setName("option") .setName("option")

View file

@ -16,8 +16,8 @@ class Nowplaying extends BaseCommand {
uk: client.translate("music/nowplaying:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/nowplaying:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/nowplaying:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/nowplaying:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), .setContexts([InteractionContextType.Guild]),
dirname: __dirname, dirname: __dirname,
ownerOnly: false, ownerOnly: false,
}); });

View file

@ -11,8 +11,8 @@ class PlayContext extends BaseCommand {
command: new ContextMenuCommandBuilder() command: new ContextMenuCommandBuilder()
.setName("Add to Queue") .setName("Add to Queue")
.setType(ApplicationCommandType.Message) .setType(ApplicationCommandType.Message)
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), .setContexts([InteractionContextType.Guild]),
dirname: __dirname, dirname: __dirname,
ownerOnly: false, ownerOnly: false,
}); });

View file

@ -16,8 +16,8 @@ class Play extends BaseCommand {
uk: client.translate("music/play:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/play:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/play:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/play:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) .setContexts([InteractionContextType.Guild])
.addStringOption(option => .addStringOption(option =>
option option
.setName("query") .setName("query")

View file

@ -15,8 +15,8 @@ class Queue extends BaseCommand {
uk: client.translate("music/queue:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/queue:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/queue:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/queue:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), .setContexts([InteractionContextType.Guild]),
dirname: __dirname, dirname: __dirname,
ownerOnly: false, ownerOnly: false,
}); });

View file

@ -15,8 +15,8 @@ class Seek extends BaseCommand {
uk: client.translate("music/seek:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/seek:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/seek:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/seek:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) .setContexts([InteractionContextType.Guild])
.addIntegerOption(option => .addIntegerOption(option =>
option option
.setName("time") .setName("time")

View file

@ -15,8 +15,8 @@ class Shuffle extends BaseCommand {
uk: client.translate("music/shuffle:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/shuffle:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/shuffle:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/shuffle:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), .setContexts([InteractionContextType.Guild]),
dirname: __dirname, dirname: __dirname,
ownerOnly: false, ownerOnly: false,
}); });

View file

@ -15,8 +15,8 @@ class Skip extends BaseCommand {
uk: client.translate("music/skip:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/skip:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/skip:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/skip:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) .setContexts([InteractionContextType.Guild])
.addIntegerOption(option => .addIntegerOption(option =>
option option
.setName("position") .setName("position")

View file

@ -15,8 +15,8 @@ class Stop extends BaseCommand {
uk: client.translate("music/stop:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/stop:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/stop:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/stop:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]), .setContexts([InteractionContextType.Guild]),
dirname: __dirname, dirname: __dirname,
ownerOnly: false, ownerOnly: false,
}); });

View file

@ -15,8 +15,8 @@ class Volume extends BaseCommand {
uk: client.translate("music/volume:DESCRIPTION", null, "uk-UA"), uk: client.translate("music/volume:DESCRIPTION", null, "uk-UA"),
ru: client.translate("music/volume:DESCRIPTION", null, "ru-RU"), ru: client.translate("music/volume:DESCRIPTION", null, "ru-RU"),
}) })
.setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall]) .setIntegrationTypes([ApplicationIntegrationType.GuildInstall])
.setContexts([InteractionContextType.PrivateChannel, InteractionContextType.Guild]) .setContexts([InteractionContextType.Guild])
.addIntegerOption(option => .addIntegerOption(option =>
option option
.setName("int") .setName("int")