/[sudobot]/trunk/deploy-commands.js
ViewVC logotype

Diff of /trunk/deploy-commands.js

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

revision 290 by rakin, Mon Jul 29 17:29:23 2024 UTC revision 291 by rakin, Mon Jul 29 17:29:23 2024 UTC
# Line 72  let commands = [ Line 72  let commands = [
72              .addUserOption(option => option.setName("user").setDescription("The user to search").setRequired(true))              .addUserOption(option => option.setName("user").setDescription("The user to search").setRequired(true))
73          )          )
74          .addSubcommand(subcommand => subcommand.setName("guild").setDescription("Server/Guild lookup")          .addSubcommand(subcommand => subcommand.setName("guild").setDescription("Server/Guild lookup")
75              .addStringOption(option => option.setName("server").setDescription("The ID of the server/guild to lookup").setRequired(true))                .addStringOption(option => option.setName("guild_id").setDescription("The ID of the server/guild to lookup").setRequired(true))
76          ),          ),
77    
78      new SlashCommandBuilder().setName('profile').setDescription('Show someone\'s profile')      new SlashCommandBuilder().setName('profile').setDescription('Show someone\'s profile')

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

team@onesoftnet.eu.org
ViewVC Help
Powered by ViewVC 1.1.26