text: const { Client, CommandInteraction } = require("discord.js");
  const config = require('../../config');//pasador code
  const qdb = require('quick.db');
  const ydb = new qdb.table("yetkili");//pasador code
  const idb = new qdb.table("isimler");
  //pasador code
  
  module.exports = {
      name: "kadın",
      description: "Kullanıcıları Kadın Olarak Kaydetmenizi Sağlar",
      options: [
          {
              type: "USER",
              name: "user",
              description: "Kullanıcı Belirtin",
              required: true
              
          },
          {
              type: "STRING",
              name: "isim",
              description: "Kayıt Etmek İstediğiniz Adı Belirtin",
              required: false
          },//pasador code
          {
              type: "NUMBER",
              name: "yaş",
              description: "Kayıt Etmek İstediğiniz Yaşı Belirtin",
              required: false
          }
      ],
      
  //pasador code
      /**
       *
       * @param {Client} client
       * @param {CommandInteraction} interaction
       * @param {String[]} args
       */
          async execute (client, interaction, args)  {
              
          // definition of user
          let user = args[0];
          let member = interaction.guild.members.cache.get(user);
  
          // perm & some useful things
          if(!config.RegisterHammer.some(role => interaction.member.roles.cache.get(role)) && !interaction.member.permissions.has("ADMINISTRATOR")) return interaction.followUp({ content: "Bu komudu kullanmak için <@&" + config.RegisterHammer.map(role => role).join(", ") + "> rol(ler)ine veya \`ADMINISTRATOR\` yetkisine sahip olmalısın." }) 
          if(member.id === interaction.member.id) return interaction.followUp({ content: "Kendinizi kayıt edemezsiniz." });
          if(member.roles.highest.position >= interaction.member.roles.highest.position) return interaction.followUp({ content: "Bu kullanıcıyı kayıt edemezsin." });
  
          // roles add & check
          if(config.womanRoles.some(role => member.roles.cache.get(role))) return interaction.followUp({ content: "Bu kullanıcı zaten kayıtlı" })
          member.roles.cache.has(config.boosterRole) ? member.roles.set([config.womanRoles[0], config.womanRoles[1], config.unregRole]) : member.roles.set([config.womanRoles[0], config.womanRoles[1]]);
  //pasador code
  
          // set & fix nickname
          const fix = member.user.username.includes(config.serverTag) ? config.serverTag : config.unTag;
          const fix_name = args[1].charAt(0).replace("i", "İ").toLocaleUpperCase() + args[1].slice(1).toLocaleLowerCase();
          const name = `${fix} ${fix_name} | ${args[2]}`
          member.setNickname(name)
      
          // message
          interaction.followUp({ content: `${member} başarıyla <@&${config.womanRoles[0]}> olarak kayıt edildi` })
          
          // lets use dbs
          //pasador code
          ydb.add(`yetkili.${interaction.member.id}.toplam`, +1);
          ydb.add(`yetkili.${interaction.member.id}.kadın`, +1);
  
          idb.push(`kullanici.${member.id}.isimler`, {
              Name: name,
              Process: `<@&${config.womanRoles[0]}>`
          });
          idb.set(`kullanici.${member.id}.sonisim`, {
              Name: name
          })//pasador code
      
  
      },
  };
  //pasador code
  //pasador code
  