const Discord = require('discord.js') const ayarlar = require('../ayarlar.json'); exports.run = async (bot , message, args) => { let boosterRolu = "rol id" let red1 = "emoji id" let tag = "tag" if(!message.member.roles.cache.get(boosterRolu)) return message.react(red1); let rol = message.mentions.roles.first() let perses = args.slice(0).join(' ') if(perses.toLowerCase().includes(".com") || perses.toLowerCase().includes("youtube.com") || perses.toLowerCase().includes("discord.gg")|| perses.includes("http") || perses.includes(rol) || perses.includes("@here") || perses.includes("@everyone")) return [message.delete(10),message.reply("**link** veya **rol** giremezsin").then(msg => msg.delete(9000))] if(!perses) return message.channel.send(new Discord.MessageEmbed() .setDescription(`Bir kullanıcı adı girmek zorundasın`).setAuthor(message.author.tag ,message.author.avatarURL()).setColor("ff0004")).then(m => m.delete(5000)); message.member.setNickname(`${tag} ${perses}`) const piece = new Discord.MessageEmbed() .setColor("#ff0004") .setDescription(`● Başarıyla kullanıcı adınız değişti.`) .setAuthor(message.author.username,message.author.displayAvatarURL()) message.channel.send(piece).then(msg => msg.delete(8000)) } exports.conf = { enabled: true, guildOnly: false, aliases: ["bnick", "boost"], permLevel: 0 }; exports.help = { name: 'booster', description: 'boosterlara özel nick değiştirme', usage: 'boost [isim]' };