Quiero que haga ping al cliente que envió el mensaje y que escriba el texto después del comando. Por favor ayuda, gracias.
client.on("messageCreate", function(message) { if (!message.content.startsWith(prefix)) return; const commandBody = message.content.slice(prefix.length); const args = commandBody.split(' '); const command = args.shift().toLowerCase(); const channel = client.channels.cache.get('939145964961292298'); message.delete() if ("napad") { const { MessageEmbed } = require('discord.js'); const exampleEmbed = new MessageEmbed() .setColor('#6d4193') .setTitle('mention sender') .setDescription('message after command') .setTimestamp() .setFooter({ text: 'PixelRP | BOT by ejdamec', iconURL: 'https://cdn.discordapp.com/attachments/939271126784303104/939453115810320414/logo_pure.png' }); channel.send({ embeds: [exampleEmbed] }); } });