From 7824c911806e368f6a1bea7f6b55d1f470b755d1 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 5 Aug 2022 20:14:49 -0400 Subject: hide incomplete commands --- src/commands/moulberry-bush/neuRepo.ts | 5 +++-- src/commands/tickets/ticket-!.ts | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/commands') diff --git a/src/commands/moulberry-bush/neuRepo.ts b/src/commands/moulberry-bush/neuRepo.ts index 9d76810..d07ba53 100644 --- a/src/commands/moulberry-bush/neuRepo.ts +++ b/src/commands/moulberry-bush/neuRepo.ts @@ -43,10 +43,11 @@ export default class NeuRepoCommand extends BushCommand { slashType: ApplicationCommandOptionType.Boolean } */ ], - slash: true, + slash: false, clientPermissions: (m) => clientSendAndPermCheck(m, [PermissionFlagsBits.EmbedLinks], true), userPermissions: [], - ownerOnly: true + ownerOnly: true, + hidden: true }); } diff --git a/src/commands/tickets/ticket-!.ts b/src/commands/tickets/ticket-!.ts index 7751df1..6ec4093 100644 --- a/src/commands/tickets/ticket-!.ts +++ b/src/commands/tickets/ticket-!.ts @@ -29,10 +29,12 @@ export default class TicketCommand extends BushCommand { slashOptions: Object.entries(ticketSubcommands).map( ([subcommand, options]) => ({ name: subcommand, ...options } as SlashOption) ), - slash: true, + slash: false, channel: 'guild', clientPermissions: (m) => clientSendAndPermCheck(m), - userPermissions: [] + userPermissions: [], + ownerOnly: true, + hidden: true }); } -- cgit