/[sudobot]/trunk/src/commands/information/LookupCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/information/LookupCommand.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 290 by rakin, Mon Jul 29 17:29:23 2024 UTC revision 297 by rakin, Mon Jul 29 17:29:25 2024 UTC
# Line 19  export default class LookupCommand exten Line 19  export default class LookupCommand exten
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          }          }

Legend:
Removed from v.290  
changed lines
  Added in v.297

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26