/[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 58 by rakin, Mon Jul 29 17:28:25 2024 UTC revision 61 by rakin, Mon Jul 29 17:28:26 2024 UTC
# Line 30  const commands = [ Line 30  const commands = [
30          .addUserOption(option => option.setName('user').setDescription('The user')),          .addUserOption(option => option.setName('user').setDescription('The user')),
31      new SlashCommandBuilder().setName('avatar').setDescription('Show someone\'s avatar')      new SlashCommandBuilder().setName('avatar').setDescription('Show someone\'s avatar')
32          .addUserOption(option => option.setName('user').setDescription('The user')),          .addUserOption(option => option.setName('user').setDescription('The user')),
33        new SlashCommandBuilder().setName('rolelist').setDescription('List all roles or show info about a role')
34            .addUserOption(option => option.setName('role').setDescription('The role')),
35    
36      // AUTOMATION      // AUTOMATION
37      new SlashCommandBuilder().setName('ballot').setDescription('Ballot engine')      new SlashCommandBuilder().setName('ballot').setDescription('Ballot engine')
# Line 137  const commands = [ Line 139  const commands = [
139          .addStringOption(option => option.setName('reason').setDescription("The reason for banning this user"))          .addStringOption(option => option.setName('reason').setDescription("The reason for banning this user"))
140          .addIntegerOption(option => option.setName('days').setDescription("The days old messages to delete of this user").setMinValue(0).setMaxValue(7)),          .addIntegerOption(option => option.setName('days').setDescription("The days old messages to delete of this user").setMinValue(0).setMaxValue(7)),
141    
142        new SlashCommandBuilder().setName('massban').setDescription('Ban multiple users')
143            .addStringOption(option => option.setName('users').setDescription("The user IDs (separated by spaces)").setRequired(true))
144            .addStringOption(option => option.setName('reason').setDescription("The reason for banning"))
145            .addIntegerOption(option => option.setName('days').setDescription("The days old messages to delete of these users").setMinValue(0).setMaxValue(7)),
146    
147      new SlashCommandBuilder().setName('kick').setDescription('Kick a member')      new SlashCommandBuilder().setName('kick').setDescription('Kick a member')
148          .addUserOption(option => option.setName('member').setDescription("The member").setRequired(true))          .addUserOption(option => option.setName('member').setDescription("The member").setRequired(true))
149          .addStringOption(option => option.setName('reason').setDescription("The reason for kicking this user")),          .addStringOption(option => option.setName('reason').setDescription("The reason for kicking this user")),

Legend:
Removed from v.58  
changed lines
  Added in v.61

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26