discord js mention

Solutions on MaxInterview for discord js mention by the best coders in the world

showing results for - "discord js mention"
Malo
09 Jul 2017
1client.on('message', message=> {
2    if (message.author.bot) return;
3    if (message.mentions.has('@here')) return;
4    if (message.mentions.has('@everyone')) return;     
5    if (message.mentions.has(client.user))
6    {
7        var embed = new Discord.MessageEmbed()
8      .setColor('RANDOM')
9      .setTimestamp(0)
10      .setTitle(`**بادئتي هى** : \`&\``)
11      .setAuthor(client.user.username, client.user.displayAvatarURL())
12      .setThumbnail(client.user.displayAvatarURL())
13      .setFooter(`بواسطة ${message.author.username}#${message.author.discriminator}`, message.author.displayAvatarURL())
14    message.channel.send(embed)
15    }
16});
similar questions
queries leading to this page
discord js mention