remove commented text from original command

This commit is contained in:
Carol Knieriem 2019-12-19 14:42:50 -05:00
parent 55f38c057b
commit a2ffd31de8
No known key found for this signature in database
GPG key ID: 932EC6A6BAEE122B

View file

@ -1,27 +1,3 @@
/*
exports.run = async (bot, msg) => {
const user = msg.mentions.users.first();
if (!user) {
throw 'Please mention the user who you want the avatar from.';
}
if (!user.avatarURL) {
throw 'That user does not have an avatar.';
}
msg.delete();
(await msg.channel.send({
embed: bot.utils.embed(`${user.username}'s Avatar`, `[Download](${user.avatarURL})`, [], { image: user.avatarURL })
})).delete(30000);
};
exports.info = {
name: 'avatar',
usage: 'avatar <user>',
description: 'Gives you the avatar of a user'
};
*/
exports.run = async (client, message, args, level) => {
let user;