Update isCommand.ts
This commit is contained in:
parent
13891d9f80
commit
c486ea6e91
1 changed files with 1 additions and 4 deletions
|
@ -18,10 +18,7 @@ export default async (interaction: CommandInteraction) => {
|
|||
|
||||
let meta;
|
||||
|
||||
const subcommand =
|
||||
interaction.options.getSubcommand() === "delete"
|
||||
? "delete_"
|
||||
: interaction.options.getSubcommand();
|
||||
const subcommand = interaction.options.getSubcommand()
|
||||
|
||||
if (!interaction.options.getSubcommandGroup(false)) {
|
||||
meta = currentCommand.modules[subcommand].meta;
|
||||
|
|
Loading…
Add table
Reference in a new issue