/[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 382 by rakin, Mon Jul 29 17:29:47 2024 UTC revision 383 by rakin, Mon Jul 29 17:29:54 2024 UTC
# Line 62  let commands = [ Line 62  let commands = [
62              }              }
63          ])),          ])),
64      new SlashCommandBuilder().setName('config').setDescription('View/change the system settings for this server')      new SlashCommandBuilder().setName('config').setDescription('View/change the system settings for this server')
65          .addStringOption(option => option.setName('key').setDescription('The setting key (e.g. spam_filter.enabled)').setRequired(true))          .addStringOption(option => option.setName('key').setDescription('The setting key (e.g. spam_filter.enabled)').setRequired(true).setAutocomplete(true))
66          .addStringOption(option => option.setName('value').setDescription('New value for the setting')),          .addStringOption(option => option.setName('value').setDescription('New value for the setting')),
67    
68      // INFORMATION      // INFORMATION

Legend:
Removed from v.382  
changed lines
  Added in v.383

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26