const { SlashCommandBuilder, ActionRow, ButtonBuilder, ButtonStyle, ActionRowBuilder, Collector, PermissionsBitField, EmbedBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('addbot')
.setDescription('Addbot!')
.addStringOption(option => option.setName('input').setDescription("Enter a Your Bot ID")),
async execute(interaction) {
const string = interaction.options.getString('input');
if(!string) return interaction.reply({content:"ID Girin", components: [], ephemeral:true})
if(db.get(`${interaction.user.id}`)) return interaction.reply({content:"En fazla 1 bot ekleyebilirsiniz", ephemeral:true});
await interaction.reply({content:"Bot Sisteme Eklendi Onay Bekleyin", components: [], ephemeral:false})
db.set(`bot.${string}.durum`, false);
db.set(`${interaction.user.id}`, true)
const embed = EmbedBuilder()
.setDescription("Bir Bot istedi")
client.channels.cache.get("1003072432472588299").send({row: [embed]})
},
};