Brozy123 commited on
Commit
4e3f578
·
verified ·
1 Parent(s): 31aac6f

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +11 -2
index.js CHANGED
@@ -302,7 +302,15 @@ client.on('messageCreate', async (message) => {
302
 
303
  if (commandName === 'setup') {
304
  if (!message.member.permissions.has('Administrator')) return message.reply("❌ Admin Only");
305
- const row = new ActionRowBuilder().addComponents(new StringSelectMenuBuilder().setCustomId('settings_select').setPlaceholder('Configure bot features...').addOptions([{ label: 'Cloud Backup', description: 'Enable/Disable Discord Cloud Backup', value: 'toggle_backup' }]));
 
 
 
 
 
 
 
 
306
  await message.channel.send({ content: "⚙️ **Settings**", components: [row] });
307
  }
308
 
@@ -623,7 +631,8 @@ client.on('interactionCreate', async (interaction) => {
623
  .setCustomId('settings_select')
624
  .setPlaceholder('Configure bot features...')
625
  .addOptions([
626
- { label: 'Cloud Backup', description: 'Enable/Disable Discord Cloud Backup', value: 'toggle_backup' }
 
627
  ])
628
  );
629
  await interaction.reply({ content: "⚙️ **Settings**", components: [row] });
 
302
 
303
  if (commandName === 'setup') {
304
  if (!message.member.permissions.has('Administrator')) return message.reply("❌ Admin Only");
305
+ const row = new ActionRowBuilder().addComponents(
306
+ new StringSelectMenuBuilder()
307
+ .setCustomId('settings_select')
308
+ .setPlaceholder('Configure bot features...')
309
+ .addOptions([
310
+ { label: 'Cloud Backup', description: 'Enable/Disable Discord Cloud Backup', value: 'toggle_backup' },
311
+ { label: 'Auto Friendly', description: 'Configure automated friendly polls', value: 'auto_friendly_settings' }
312
+ ])
313
+ );
314
  await message.channel.send({ content: "⚙️ **Settings**", components: [row] });
315
  }
316
 
 
631
  .setCustomId('settings_select')
632
  .setPlaceholder('Configure bot features...')
633
  .addOptions([
634
+ { label: 'Cloud Backup', description: 'Enable/Disable Discord Cloud Backup', value: 'toggle_backup' },
635
+ { label: 'Auto Friendly', description: 'Configure automated friendly polls', value: 'auto_friendly_settings' }
636
  ])
637
  );
638
  await interaction.reply({ content: "⚙️ **Settings**", components: [row] });