const Discord = require('discord.js');
exports.run = async (client, message, args) => {
if(!message.member.roles.has("641740792280645652")) return message.channel.send(`Bu komutu kullanabilmek için <@&641740792280645652> yetkisine sahip olmasınız.`);
let member = message.mentions.members.first()
let isim = args.slice(1).join(" ")
if (!member) return message.channel.send('Bir üye etiketlemelisin kanka')
if (!isim) return message.channel.send('Bir isim yazmalısın kanka')
member.setNickname(`ꂑ ${isim}`)
const embed = new Discord.RichEmbed()
.addField(`• Kullanıcının takma adı değiştirildi.`, `• Değiştirilen kullanıcı : ${member.user} \n • Düzenlenmiş kullanıcı adı : \`ꂑ ${isim}\``)
.setFooter(`Komutu kullanan yetkili : ${message.author.username}`)
.setThumbnail(client.user.avatarURL)
message.channel.send(embed).then(msg => msg.delete(5000))
};
exports.conf = {
enabled: true,
guildOnly: true,
aliases: ['nick'],
permLevel: 0
}
exports.help = {
name: 'isim',
description: "Birinin nickini değiştirir.",
usage: 'nick <yeni nick>'
}
Rica ederimeyvallah yazdım biryere ihtiyacım olunca kullanıcam
No prohibition.Is this safe or you can be banned?
Discord.nerde kullanıyoruz bunu
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?