Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.on ('message', async (revolution) => {
- if (!revolution.guild || revolution.author.bot) return false;
- var prefix = "!";
- if (revolution.content.startsWith (prefix + 'avatar')) {
- var user = revolution.guild.member (revolution.mentions.members.first() || revolution.author);
- var embed = new Discord.RichEmbed()
- .setColor ("BLACK")
- .setImage (user.user.avatarURL)
- .setTitle("AVATAR LINK")
- .setURL (user.user.avatarURL)
- revolution.channel.send(embed);
- }
- })
- //By Rashwan || Revolution Codes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement