19 |
else if (interaction.options.getSubcommand() === "guild") { |
else if (interaction.options.getSubcommand() === "guild") { |
20 |
await client.commands.get("guildlookup")?.execute(client, interaction, options); |
await client.commands.get("guildlookup")?.execute(client, interaction, options); |
21 |
} |
} |
22 |
|
else if (interaction.options.getSubcommand() === "avatar") { |
23 |
|
await client.commands.get("avatarlookup")?.execute(client, interaction, options); |
24 |
|
} |
25 |
else { |
else { |
26 |
await interaction.reply({ content: "Invalid subcommand given. Must be one of 'user' or 'guild'." }); |
await interaction.reply({ content: "Invalid subcommand given. Must be one of 'user' or 'guild'." }); |
27 |
} |
} |