Answers for "discord.js mention"

0

discord.js mention

client.on('message', message=> {
    if (message.author.bot) return;
    if (message.mentions.has('@here')) return;
    if (message.mentions.has('@everyone')) return;     
    if (message.mentions.has(client.user))
    {
        var embed = new Discord.MessageEmbed()
      .setColor('RANDOM')
      .setTimestamp(0)
      .setTitle(`**بادئتي هى** : \`&\``)
      .setAuthor(client.user.username, client.user.displayAvatarURL())
      .setThumbnail(client.user.displayAvatarURL())
      .setFooter(`بواسطة ${message.author.username}#${message.author.discriminator}`, message.author.displayAvatarURL())
    message.channel.send(embed)
    }
});
Posted by: Guest on June-19-2021

Code answers related to "discord.js mention"

Code answers related to "Javascript"

Browse Popular Code Answers by Language