mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
remove Music category from User Installs
This commit is contained in:
parent
77ec27dc1d
commit
96009bad69
12 changed files with 24 additions and 24 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue