Skip to content
Snippets Groups Projects
Commit 786d4789 authored by Levatax's avatar Levatax
Browse files

Update avatar.js

parent 40e53715
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ 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()
message.channel.send(new Discord.RichEmbed()
.setDescription('Here:')
.setImage(user.avatarURL)
.setColor("RANDOM"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment