/[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 399 by rakin, Mon Jul 29 17:30:02 2024 UTC revision 537 by rakin, Mon Jul 29 17:30:42 2024 UTC
# Line 102  let commands = [ Line 102  let commands = [
102          .addUserOption(option => option.setName('user').setDescription('The user')),          .addUserOption(option => option.setName('user').setDescription('The user')),
103      new SlashCommandBuilder().setName('rolelist').setDescription('List all roles or show info about a role')      new SlashCommandBuilder().setName('rolelist').setDescription('List all roles or show info about a role')
104          .addRoleOption(option => option.setName('role').setDescription('The role'))          .addRoleOption(option => option.setName('role').setDescription('The role'))
105          .addIntegerOption(option => option.setName('page').setDescription('The page number')),          .addStringOption(option =>
106                option
107                .setName('order')
108                .setDescription('Order style of the list (according to the role positions)')
109                .setChoices({
110                    name: "Ascending",
111                    value: "a"
112                }, {
113                    name: "Descending",
114                    value: "d"
115                })
116            ),
117    
118      // AUTOMATION      // AUTOMATION
119      new SlashCommandBuilder().setName('ballot').setDescription('Ballot engine')      new SlashCommandBuilder().setName('ballot').setDescription('Ballot engine')
# Line 239  let commands = [ Line 250  let commands = [
250      new SlashCommandBuilder().setName('afk').setDescription('Set your AFK status')      new SlashCommandBuilder().setName('afk').setDescription('Set your AFK status')
251          .addStringOption(option => option.setName('reason').setDescription("The reason for going AFK")),          .addStringOption(option => option.setName('reason').setDescription("The reason for going AFK")),
252            
253        new SlashCommandBuilder().setName('private').setDescription('Create a private channel for specific members')
254            .addUserOption(option => option.setName('member').setDescription("The member to add in the private channel").setRequired(true))
255            .addChannelOption(option => option.setName('category').setDescription("Create channel in the specified category")),
256        
257      new SlashCommandBuilder().setName('hash').setDescription('Generate hash for a string (text) data')      new SlashCommandBuilder().setName('hash').setDescription('Generate hash for a string (text) data')
258          .addStringOption(option => option.setName('content').setDescription("The content to be hashed").setRequired(true))          .addStringOption(option => option.setName('content').setDescription("The content to be hashed").setRequired(true))
259          .addStringOption(option =>          .addStringOption(option =>

Legend:
Removed from v.399  
changed lines
  Added in v.537

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26