aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-05 20:14:49 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-05 20:14:49 -0400
commit7824c911806e368f6a1bea7f6b55d1f470b755d1 (patch)
tree255ea5e97ad528e2c587dddc312a628ae9c4ce27 /src/commands
parent2ec1de170091178263e53ecfce744c7a0710a409 (diff)
downloadtanzanite-7824c911806e368f6a1bea7f6b55d1f470b755d1.tar.gz
tanzanite-7824c911806e368f6a1bea7f6b55d1f470b755d1.tar.bz2
tanzanite-7824c911806e368f6a1bea7f6b55d1f470b755d1.zip
hide incomplete commands
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/moulberry-bush/neuRepo.ts5
-rw-r--r--src/commands/tickets/ticket-!.ts6
2 files changed, 7 insertions, 4 deletions
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
});
}