const Discord = require("discord.js"); const ayarlar = require("../ayarlar.json"); exports.run = (client, message, params) => { if (!message.guild) { const kral = new Discord.MessageEmbed() .setColor(0xff0000) .setTimestamp() .setAuthor() .addField("açıklama bedeli"); return message.author.send(kral); } if (message.channel.type !== "dm") { const kral = new Discord.MessageEmbed() .setAuthor(message.author.username + " Artık Kral Oldun!!!") .setColor(3447003) .setTimestamp() .setDescription("") .setURL("https://media.giphy.com/media/F0uvYzyr2a7Li/giphy.gif") .setImage(`https://media.giphy.com/media/F0uvYzyr2a7Li/giphy.gif`) .setFooter(`${message.author.username}`) .setTimestamp() return message.channel.send(kral); } }; exports.conf = { enabled: true, guildOnly: false, aliases: ["kral-ol"], permLevel: 0 }; exports.help = { name: "kralol", description: "kralol", usage: "kralol" };