const Color = "RANDOM"; const Discord = require("discord.js"); module.exports = { name: "slap", aliases: ["batmanslap", "slp"], category: "Image", description: "Geben Sie ein Slap-Bild zurück!", usage: "Slap | ", run: async (client, message, args) => { const Member = message.mentions.members.first() || message.guild.members.cache.get(args[0]); if (!Member) return message.channel.send("Bitte erwähnen oder ID eines Mitglieds angeben!"); const Other = args.slice(1).join(" ") || "Don't Be Gay"; if (Other.length > 50) return message.channel.send("Zeichenlimit erreicht - 50!"); const Embed = new Discord.MessageEmbed() .setColor(Color) .setImage(encodeURI(`https://vacefron.nl/api/batmanslap?text1=bruh&text2=${Other}&batman=${message.author.avatarURL({ format: "png" })}&robin=${Member.user.displayAvatarURL({ format: "png" })}`)) .setTimestamp(); return message.channel.send(Embed); } };