Skip to content
Snippets Groups Projects
Commit 40e53715 authored by Levatax's avatar Levatax
Browse files

Added avatar command

parent d5e27e85
No related branches found
No related tags found
No related merge requests found
Pipeline #71 failed
const Discord = require('discord.js');
exports.run = async(bot, message, args) => {
let user = message.mentions.users.first() || message.guild.member(args[0]) || message.author;
message.channel.sendEmbed(new Discord.RichEmbed()
.setDescription('Here:')
.setImage(user.avatarURL)
.setColor("RANDOM"));
}
module.exports.help = {
name: 'pfp',
aliases: ['avatar', 'pp']
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment